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,570 points
277 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,350 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 in Docker by pranav
• 2,580 points
30 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,230 points
1,838 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,230 points
17,275 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
163 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
1,872 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,350 points
243 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
2,177 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP