List only stopped Docker containers

0 votes

Docker allows you to list running containers or all containers, even those that have been stopped.

This can be accomplished by:

$ docker ps 

Alternatively, you can use

$ docker ps -a

Is there a way to limit the list of containers to those that have been halted?

Apr 29, 2022 in Docker by Abhijeet
• 180 points

edited 5 days ago 6 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP