Answers for "remove all stopped containers docker"

7

remove stopped containers

$ docker rm $(docker ps -a -q)
Posted by: Guest on May-27-2020
0

docker remove all stopped

$ docker rm $(docker ps --filter status=exited -q)
Posted by: Guest on June-22-2021
3

docker force remove container

docker rm -f [containerid]
Posted by: Guest on May-27-2020
0

remove all stopped containers

$ docker rm $(docker ps --filter status=exited -q)
$ docker ps --filter status=exited -q | xargs docker rm
Posted by: Guest on September-01-2021
1

docker remove

cheat sheet

https://github.com/lifeeric/docker-cheat-sheet
Posted by: Guest on August-05-2020

Code answers related to "remove all stopped containers docker"

Browse Popular Code Answers by Language