Docker Community Forums

Share and learn in the Docker community.

Extract Service Info


(Dolvany) #1

I’ve got a swarm running on 1.12. I have deployed a service and now I would like to retrieve a list of IPs:Ports associated with the service. I expected this info to be part of docker service inspect, but it is not. Does anyone know of a way to accomplish this seemingly simple task with cli or api?