Docker: clean up disk space
5 March 2023 (Updated 27 April 2024)
docker system prune --volumes
This will remove:
- Dangling images
- Stopped containers
- Unused volumes
- Unused networks
Think twice before you remove the volumes with the --volumes
flag.
Running docker volume prune
freed up 28GB for me 😅.
Tagged:
Docker
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment