Share this postDocker trick: How to stop and remove all current containerspentesting.academyCopy linkFacebookEmailNotesOtherDiscover more from Learn Pentesting like a Pro!Stay updated on the latest cybersecurity insights from Cloud and Mobile to Blockchain. (HUNDREDS OF SUBSCRIBERS)SubscribeContinue readingSign in Docker trick: How to stop and remove all current containersDHNov 19, 2019Share this postDocker trick: How to stop and remove all current containerspentesting.academyCopy linkFacebookEmailNotesOtherShare$ docker stop $(docker ps -a -q) $ docker rm -f $(docker ps -a -q) For some system maintenance:$ docker system df $ docker container prune # Removes all stopped containers $ docker image prune $ docker volume pruneOr to delete everything that is not being used:$ docker system prune