Skip to content

Instantly share code, notes, and snippets.

@jwarykowski
Created May 5, 2017 00:59
Show Gist options
  • Select an option

  • Save jwarykowski/0a494d8adadac89cdd8653b1f5401b5d to your computer and use it in GitHub Desktop.

Select an option

Save jwarykowski/0a494d8adadac89cdd8653b1f5401b5d to your computer and use it in GitHub Desktop.
Docker Prune Commands
As of 1.13.0, new prune commands:
docker container prune # Remove all stopped containers
docker volume prune # Remove all unused volumes
docker image prune # Remove unused images
docker system prune # All of the above, in this order: containers, volumes, images
docker system df # Show docker disk usage, including space reclaimable by pruning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment