Last active
July 22, 2020 04:22
-
-
Save yolabingo/ad920f5938ab64d120f67e6a981a2b7e to your computer and use it in GitHub Desktop.
remove all docker containers and volumes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
docker stop $( docker ps -qa ); docker container rm $( docker container ls -qa ); docker volume rm $( docker volume ls -q ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment