Here’s what I’m running on my node:
root@manager-1:~# docker swarm init --advertise-addr 22.214.171.124 --listen-addr 126.96.36.199:2377
Error response from daemon: listen tcp 188.8.131.52:2377: bind: cannot assign requested address
That’s my error. Any ideas why I can’t bind the requested address?
I’ve tried to bind to 0.0.0.0 but the result is much of the same.
$ docker swarm init --advertise-addr 0.0.0.0 --listen-addr 0.0.0.0:2377
Error response from daemon: must specify a listening address because the address to advertise is not recognized as a system address