Here’s what I’m running on my node:
root@manager-1:~# docker swarm init --advertise-addr 220.127.116.11 --listen-addr 18.104.22.168:2377
Error response from daemon: listen tcp 22.214.171.124: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