Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
johannes1234321
1mo ago
0 comments
Save
Share
Prune is nice, but if you have a bunch of containers which run shirt time for a build step or similar prune would collect those, too. A filter "last used a few months ago" would be useful.
0 comments
3 comments · 3 top-level
top
newest
oldest
giobox
1mo ago
I think you can filter on last created, but agree last used would be helpful:
docker image prune -a --filter "until=24h"
>
https://docs.docker.com/reference/cli/docker/image/prune/#fi...
Oxodao
1mo ago
I do prune all the time, but working on a lot of different projects it fills up as quickly as it empties
kevinmgranger
1mo ago
Any reason why those containers can't be run ephemerally?
j
/
k
navigate · click thread line to collapse