List only stopped Docker containers

0 votes

Is there a way to list all the stopped containers?

Jul 26, 2018 in Docker by Hannah
• 18,520 points
• 2,004 views

1 answer to this question.

0 votes
docker ps --filter "status=exited"

or

docker ps -f "status=exited"

or

you can filter them with grep for example docker ps -a | grep Exited
answered Jul 26, 2018 by Kalgi
• 52,340 points

Related Questions In Docker

0 votes
0 answers

docker-compose up for only certain containers

I have numerous containers in a docker-compose.yml ...READ MORE

Apr 18, 2022 in Docker by pranav
• 2,590 points
• 2,544 views
0 votes
1 answer

Docker containers as Jenkins Slave build agents

When you encapsulate the stage inside a ...READ MORE

answered Jun 16, 2018 in Docker by Atul
• 10,240 points
• 3,701 views
+1 vote
5 answers

Set containers timezones by using docker compose.

version "2" services: serviceA: ...READ MORE

answered Jul 9, 2018 in Docker by Atul
• 10,240 points
• 26,230 views
0 votes
1 answer

Docker : multiples linked containers for each customers

Using Docker (specifically Docker Compose) linking containers ...READ MORE

answered Jul 11, 2018 in Docker by Kalgi
• 2,680 points
• 1,701 views
+2 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
• 9,655 views
0 votes
1 answer

How to list containers in Docker

To show only running containers use the given command: docker ...READ MORE

answered Jul 20, 2018 in Docker by Kalgi
• 52,340 points
• 2,213 views
+1 vote
2 answers

How to run docker containers on different machines

You can use labels and selectors for ...READ MORE

answered Oct 23, 2018 in Docker by Laila
• 5,522 views
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