Skip to content

Instantly share code, notes, and snippets.

@maximilian-lindsey
Last active July 11, 2018 11:52
Show Gist options
  • Save maximilian-lindsey/7dc989c8834627c1f837668bf7940139 to your computer and use it in GitHub Desktop.
Save maximilian-lindsey/7dc989c8834627c1f837668bf7940139 to your computer and use it in GitHub Desktop.
Docker stop and prune all
# stop all
docker stop $(docker ps -a -q)
# prune
docker system prune --all
# volume prune
docker volume prune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment