Created
March 17, 2021 04:52
-
-
Save apzentral/9e0eb63b8e95175948c43c72b058e236 to your computer and use it in GitHub Desktop.
Remove all docker containers
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
#!/usr/bin/env bash | |
echo "Stoppping and removing all container(s)" | |
docker container stop $(docker container ls -aq) && docker container rm $(docker container ls -aq) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment