Created
August 30, 2017 23:30
-
-
Save RafalSladek/61eef630868af743a8c1a673bf5cf71a to your computer and use it in GitHub Desktop.
remove all containers and delete all images
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/fish | |
| function cleanUpDocker | |
| #Note: containers can also be removed in a non graceful way: | |
| docker container rm -f (docker container ls -aq) | |
| docker image rm -f (docker image ls -q) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment