Docker Community Forums

Share and learn in the Docker community.

Docker node inspect status address shows loopback

We’re seeing in two different swarm clusters that one of the hosts returns it’s loopback adapter for its address. Since we are in AWS using autoscaling host names are pretty much useless so we would like to rely on the addresses reported by docker node inspect. It appears that whatever host initially created the swarm will report it’s loopback adapter in its status. My sample size is only two but both stacks show the same behavior. Is there a way update the node to report it’s actual address and not the loopback?