Freeing space with Docker
Docker’s been eating most of my disk space. Here’s how I reclaimed it.
docker system prune command can remove unused Docker artifacts.
How does it work?
Delete unused things using
docker system prune --filter until=240h. This will remove old containers, images, cache files and networks.
Bonus: Delete unused volumes
Now that you’ve deleted some containers, you may want to delete their associated volumes as well with
docker volume prune.
Written by Rico Sta. Cruz
you'd like to stay in touch, subscribe to my list.