diff --git a/docs/index.html b/docs/index.html index 43231253..e6bf8458 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5107,6 +5107,48 @@ docker node update --availability --- +## Disk space management: `docker system df` + +- Shows disk usage for images, containers, and volumes + +- Breaks down between *active* and *reclaimable* categories + +.exercise[ + +- Check how much disk space is used at the end of the workshop: + ```bash + docker system df + ``` + +] + +Note: `docker system` is new in Docker Engine 1.13. + +--- + +## Reclaiming unused resources: `docker system prune` + +- Removes stopped containers + +- Removes dangling images (that don't have a tag associated anymore) + +- Removes orphaned volumes + +- Removes empty networks + +.exercise[ + +- Try it: + ```bash + docker system prune -f + ``` + +] + +Note: `docker system prune -a` will also remove *unused* images. + +--- + class: title # Thanks!
Questions?