Is there a way to do a docker service ps using docker py? I can do client.api.inspect_service('id') but this does not show node or the task information.
Sorry if this question does not belong here.
Thank you!
client.tasks(filters={'service': service_id})
(edited with correction suggested below)
@shin- Thank you! Just a small correction, it is "filters" instead of "filter" took a while to get that figured out!
Most helpful comment
@shin- Thank you! Just a small correction, it is "filters" instead of "filter" took a while to get that figured out!