Commands.app

docker system prune

Maintenance

Remove unused Docker data

Options & Flags
Available options for this command
-a

Remove all unused images

--volumes

Prune volumes

Examples
Common usage examples

Remove unused data

docker system prune

Remove all unused data including volumes

docker system prune -a --volumes
Notes
  • Frees up disk space
  • Use with caution
Related Commands
You might also find these useful