-
-
Save r3ap3r2004/e8abd34bdd88e3c04b66badc47772cf1 to your computer and use it in GitHub Desktop.
Bash script to wipe out all docker containers, volumes and network.
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/bash | |
docker stop $(docker ps -a -q) | |
docker rm -f $(docker ps -a -q) | |
docker volume prune -f | |
docker network prune -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment