Skip to content

Instantly share code, notes, and snippets.

@KRostyslav
Created July 20, 2020 19:50
Show Gist options
  • Save KRostyslav/4f7ba8edf5364599f7398a1b7aa3e0f2 to your computer and use it in GitHub Desktop.
Save KRostyslav/4f7ba8edf5364599f7398a1b7aa3e0f2 to your computer and use it in GitHub Desktop.
# Prune images
$ docker image prune
or
$ docker image prune -a
# Prune containers
$ docker container prune
# Prune volumes
$ docker volume prune
# Prune networks
$ docker network prune
# Prune everything
$ docker system prune
or
$ docker system prune -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment