Last active
June 16, 2022 19:59
-
-
Save jonathanconway/ef1674cc426cac3fa5f5795e9649c4cb to your computer and use it in GitHub Desktop.
Nuke all docker images and containers ☢️
This file contains hidden or 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 rm --force $(docker ps --all -q) | |
docker rmi --force $(docker images --all -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment