Aggressively remove unused images and volumes too.
Section: System and Cleanup
Prune all unused data
bash
bash
docker system prune -a --volumesExplanation
Be careful: this can remove data you expected to keep.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing System and Cleanup