Container Images

I have an M.2 that I run my apps from and it’s getting full. I am looking at the container images and I am seeing lots of, what I think is, junk. As an example:

All of these are Immich, looks like it’s not deleting the old images when it updates?

My two questions are this. Can I delete all those except the latest one? How can I prevent this from happening?

If you don’t plan to rollback to an older version you can delete them. As to how to prevent it, you could set up a cronjob that runs

sudo docker image prune -a

which would delete all unused images

1 Like

Thank you kind sir