Docker Community Forums

Share and learn in the Docker community.

Docker Swarm - Nginx

HI , We currently have a docker swarm setup on 3 hosts. Nginx has been deployed using swarm as a service so each host has an instance of Nginx running.

We would like to be able to query specific hosts.When i try and query localhost:8080 i can get metrics from different boxes as swarm tries to manage the connections.

How can i hit specific boxes in swarm so i can monitor the metrics.

Thanks