Shell/Bash: docker remove all exited containers Example

By

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

docker remove all exited containers

docker container prune

docker remove exited containers

(docker ps -a |findstr Exited) | foreach-object {docker rm $_.split(" ")[-1]}


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

Others