How to reconfigure swarm on stopped daemon

The IP address of a docker swarm manager node was changed. Therefore daemon couldn’t start because of this problem:
“swarm component could not be started: failed to listen on remote API address: listen tcp x.x.x.x:2377”.
There is no chance to return previous ip and reconfigure swarm correctly. I haven’t found a way to reconfigure swarm through config files.
Is there a way to change listening ip on stopped docker daemon?

1 Like