Skip to content

Instantly share code, notes, and snippets.

@christopher-paul-shaw
Created July 15, 2021 08:04
Show Gist options
  • Save christopher-paul-shaw/44dbbf7a56704f6bb50f709fdf53b488 to your computer and use it in GitHub Desktop.
Save christopher-paul-shaw/44dbbf7a56704f6bb50f709fdf53b488 to your computer and use it in GitHub Desktop.
Docker Commands

stop all containers: docker kill $(docker ps -q)

remove all containers docker rm $(docker ps -a -q)

remove all docker images docker rmi $(docker images -q)

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