Shell/Bash: remove stopped containers Example

By

Shell/Bash Example: This is the "remove stopped containers" Example. compiled from many sources on the internet by SimpleTutorials.org

remove stopped containers

$ docker rm $(docker ps -a -q)

how to remove a docker container

docker container rm [container id]


* Summary: This "remove stopped containers" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others