Wednesday, March 29, 2023

Python docker SDK how to list all the containers

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