Get ip address of every node in docker swarm with this simple jq command. docker node inspect $(docker node ls -q) | jq -r .[].Status.Addr