Docker: clean up disk space
5 March 2023 (Updated 5 March 2023)
docker system prune --volumes
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