How to best scan docker compose files?
retained text
I currently have all my compose files in one repo. I use foregejo+komodo to deploy them. I also have renovate in my workflow to get the updates for the images etc. What I would like to add is a step to scan the images referenced in the compose. It seems, to me, that the best way is to use Trivy and use a small script that extracts the images from all the compose files and let Trivy loop through them. But maybe I'm missing something? Is there a smarter way to go through this?
document fetched 2026-11-01 00:28 · canonical https://reddit.com/r/selfhosted/comments/1xk7ghp/how_to_best_scan_docker_compose_files