this can be done by giving all=True parameter like below
client.containers.list(all=True)
references:
https://stackoverflow.com/questions/54306722/python-docker-client-only-listing-running-containers
No comments:
Post a Comment