Docker Community Forums

Share and learn in the Docker community.

Docker swarm get could not find local IP address


I get the following error when I try to join to a swarm cluster.
docker swarm join --token SWMTKN-1-3dfnavwno6xd4vs7josn7smfag0oy0p35b87clrgwm7e2zw6q3-ds02q7ynrsovd6vz8m61gf522​
Error response from daemon: could not find local IP address: dial udp: address udp/2377​: unknown port

Has anyone seen this issue before?


1 Like

@alisalimi25 Did you ever find an answer. I’m getting this type of error too.

well, it was 9 months ago but what I remember was that it happened due to DNS issues. You need to make sure all nodes in the cluster can get the IP address of the others based on the given hostname. I hope it helps.