Docker 29 · Cleaning up

Remove unused data

Delete stopped containers, unused networks, dangling images and build cache.

docker system prune

Caution: Anything stopped or unused is deleted. Check docker ps -a first.

Official Docker 29 documentation

More cleaning up commands

All cleaning up commands · Docker 29 cheatsheet

Was this page helpful?