Docker Community Forums

Share and learn in the Docker community.

Docker node ls does not list AWS nodes

Expected behavior

docker node ls should list aws nodes in Docker Cloud swarm

Actual behavior

docker node ls displays local vm

Additional Information

I followed Part 6 - Deploy your App of the Get Started tutorial to a tee

Steps to reproduce the behavior

  1. …$ docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_HOST dockercloud/client orangesnap/vote-swarm
    Use your Docker ID credentials to authenticate:
    Username: orangesnap
    Password:

=> You can now start using the swarm orangesnap/vote-swarm by executing:
export DOCKER_HOST=tcp://127.0.0.1:32770
2. …then typing docker node ls should list the 3 AWS instances but it does not.
Anyone have any ideas?

Just to be sure, have you executed the command in your terminal?
export DOCKER_HOST=tcp://127.0.0.1:32770