Top
Best
New

Posted by neitsab 7 days ago

Docker 29 has changed its default image store for new installs(docs.docker.com)
131 points | 84 commentspage 2
newsoftheday 4 days ago|
The article says to regularly run prune, how regularly? Currently I run the following once per day from cron:

    docker system prune -a -f
    docker volume prune -a -f
wolttam 4 days ago||
This would depend entirely on how much churn your system is doing on containers/volumes/images. Once a day sounds really often for most situations.

"Regularly" = when you're running out of space because of a bunch of built up old stuff.

arnitdo 4 days ago|||
From the docs, you can just run `docker system prune -a --volumes`

Ref: https://docs.docker.com/reference/cli/docker/system/prune/

bravetraveler 4 days ago||
Personally, I'd recommend the pointed 'docker {container,image,volume} prune' commands for scheduling granularity/control. At least, filtering as you've also shown.

The 'system' context captures networks; much to my dismay, this has been a problem for no fewer than three employers. It's painfully common for things to expect the networks to persist. They don't really consume resources, so I see no reason to invite the systematic heartburn.

When? When there's disk pressure. Maybe some longer term (weekly, monthly?) to keep a lid on things. The image cache provides a benefit, no sense fighting it. At our rate, daily pruning means I might lose hours (through a week) repeatedly pulling the same images.

tetha 4 days ago||
Monitor your disks to see if they grow full, and have an idea what your storage baseline should be. Storage in /var/lib/docker/overlay2 can also leak, even if you prune regularly.
mrichman 4 days ago||
Why not just use podman at this point?
nitinreddy88 4 days ago|
They are adopting to containerd standard, not sure why negative sentiment
mgrandl 4 days ago||
Where did you see that? I just did a deep dive into podman/quadlets/bootc/composefs and never once seen a mention of that. A google search also didn’t bring anything like that up.
eikenberry 4 days ago||
I think the "They" mentioned was Docker, not Podman. That Docker was adopting the containerd standard.
mgrandl 4 days ago||
Jup that’s definitely it, not sure how I got it that wrong.
aljgz 4 days ago||
It's not just you. I interpreted it similarly
pjmlp 4 days ago||
In case you missed it, recent Rancher Desktop versions also went through this.
xiaod 4 days ago||
[flagged]
QuietLedge375 4 days ago||
[dead]
BoldBrook418 4 days ago|
[dead]