You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With 18.09, we now have docker swarm init --default-address-pool .... For those already running a swarm cluster, it would be useful to have docker swarm update --default-address-pool ... to change the default pool for new overlay networks created in the future. This would avoid the need to destroy and recreate the cluster to adjust the default network config.
Steps to reproduce the issue: docker swarm update --default-address-pool 10.20.0.0/16
Describe the results you received: unknown flag: --default-address-pool
Describe the results you desired:
The value of default-address-pool should be changed without the need to destroy and init the cluster. The result should be visible with:
docker info --format '{{.Swarm.Cluster.DefaultAddrPool}}'
Additional information you deem important (e.g. issue happens only occasionally):
This is a new feature request.
Output of docker version:
Client:
Version: 18.09.0
API version: 1.39
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:48:46 2018
OS/Arch: linux/amd64
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 18.09.0
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:16:44 2018
OS/Arch: linux/amd64
Experimental: false
You might find yourself tempted to just look, go ahead and edit /var/lib/docker/swarm/docker-state.json change DefaultAddressPool and SubnetSize and then restart docker daemon.
Do yourself a favor and forget about it ! Reinit your swarm
Description
With 18.09, we now have
docker swarm init --default-address-pool ...
. For those already running a swarm cluster, it would be useful to havedocker swarm update --default-address-pool ...
to change the default pool for new overlay networks created in the future. This would avoid the need to destroy and recreate the cluster to adjust the default network config.Steps to reproduce the issue:
docker swarm update --default-address-pool 10.20.0.0/16
Describe the results you received:
unknown flag: --default-address-pool
Describe the results you desired:
The value of default-address-pool should be changed without the need to destroy and init the cluster. The result should be visible with:
docker info --format '{{.Swarm.Cluster.DefaultAddrPool}}'
Additional information you deem important (e.g. issue happens only occasionally):
This is a new feature request.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Install on physical Linux machine running Debian.
The text was updated successfully, but these errors were encountered: