I’ve been working on a python app to deploy docker services and have a quick question regarding how to query the docker API for service location. I know that I can use
docker service ls <service_name> and get the service location under
Node. However, how would I get the same
Node Information via the API? I have been using docker-py but after looking through the API docs both here and within that project I’m at a loss as to what I should be targeting. Thank you!
OS Version/build Centos 7.3
App version Docker 1.13