Skip to content

Instantly share code, notes, and snippets.

@hucancode
Last active April 24, 2022 09:07
Show Gist options
  • Save hucancode/02d70d8f10e569dadb68e5bb7f3f384c to your computer and use it in GitHub Desktop.
Save hucancode/02d70d8f10e569dadb68e5bb7f3f384c to your computer and use it in GitHub Desktop.
Docker useful commands
docker rm $(docker container ls -qa)
docker rmi $(docker images -f "dangling=true" -q)
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