Redundant docker images

IS there an easy way to get rid of redundant docker containers? I am seeing this in my logs and have a suspicion this has to do with outdated docker images on TN CE.

docker image prune -a -f run from the shell - you may need sudo

And that removes only the ones that are redundant, right?

It hasn’t broken anything yet - and I run it weekly via a cronjob

It should be fairly low risk. docker prune commands are supposed to only remove inactive images, but even if it did somehow remove an image for an app you wanted to retain, docker should just pull the image again the next time you tried to start the container.

You also may be able to remove the offending image via the UI: https://apps.truenas.com/managing-apps/managing-installed-apps/#managing-container-images

Tried it this morning. Worked like a charm. Thanks!