Last active
April 17, 2022 06:32
-
-
Save HubertWo/b8691cbe4dd35479ae1e295c64f49d31 to your computer and use it in GitHub Desktop.
Docker - remove unused containers, volumes and images
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
# Removes: | |
# all stoped containers | |
# all volumes | |
# all unused images | |
docker container prune -f && \ | |
docker images prune -q && \ | |
docker volume prune -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment