Created
June 7, 2020 07:49
-
-
Save naXa777/46b8a1c3de6778626cac10b2900434b9 to your computer and use it in GitHub Desktop.
Prune docker system and remove all containers, images, networks, volumes to reclaim space
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 | |
# see also https://docs.docker.com/config/pruning/ | |
docker system prune --volumes -f | |
docker image prune -a -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment