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?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Get service name from ipaddress | 0 | 268 | October 23, 2020 | |
Programmatically get IPs of a service's containers | 2 | 3344 | December 15, 2016 | |
Container info within a container | 0 | 638 | June 25, 2017 | |
How to get exposed ports and host IP addresses of service in 1.12 | 1 | 1167 | August 10, 2016 | |
[Docker swarm] Access services | 0 | 1187 | November 3, 2016 |