Skip to content

Instantly share code, notes, and snippets.

@medwig
Created April 29, 2019 14:11
Show Gist options
  • Save medwig/2a465bd1eef5c72046db750a014c3e46 to your computer and use it in GitHub Desktop.
Save medwig/2a465bd1eef5c72046db750a014c3e46 to your computer and use it in GitHub Desktop.
Docker delete all images and containers alias
alias docker_rm_all_containers="docker ps -aq | xargs docker rm -f"
alias docker_rm_all_images="docker images -q | xargs docker rmi -f"
@medwig
Copy link
Author

medwig commented Apr 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment