Docker Community Forums

Share and learn in the Docker community.

Swarm mode: Inspecting containers on worker nodes


(Kchui) #1

Hi! I was wondering if it is possible to inspect a container running on a worker node from the manager node? The container was created via docker service create. From the manager node, I can get the task’s service id (via docker service ps and even the container id (via docker inspect ) My end goal is being able to find the container’s ip address. Any help would be much appreciated!

Additional info:
Docker version 1.12.1
OS: CentOS Linxus 7


(Kchui) #2

I was able to find a solution here: http://stackoverflow.com/questions/39237998/swarm-mode-inspect-worker-nodes-container-on-manager-node/39239097#39239097