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”
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?