Docker Community Forums

Share and learn in the Docker community.

How to change settings on existing Swarm node


(Claumondo) #1

Hi,
I have a Swarm Cluster of VMs created with docker-machine commands, where every swarm node is configured to interact with a specific discovery service (consul software) on another specific VM (named consul-machine).
The configuration of the discovery service has been made with these parameters:

–swarm-discovery=“consul://$(docker-machine ip consul-machine):8500”
–engine-opt=“cluster-store=consul://$(docker-machine ip consul-machine):8500”
–engine-opt=“cluster-advertise=eth0:2376”

Then, the IP Address of the consul-machine HAS CHANGED.

How can I also change the pointment to consul-machine on all the swarm nodes ?

Does a specific docker-machine command exist?

Does a specific docker command exist?

Thanks,


(Gabrielfsousa) #2

i need to change too, did you found how ?