Last active
April 24, 2022 09:07
-
-
Save hucancode/02d70d8f10e569dadb68e5bb7f3f384c to your computer and use it in GitHub Desktop.
Docker useful commands
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
docker rm $(docker container ls -qa) |
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
docker rmi $(docker images -f "dangling=true" -q) |
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
docker images -q | fzf --multi --preview 'docker image inspect {1}' | docker image rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment