# How to best scan docker compose files? — retained record

> Retained reddit record from reddit:selfhosted.

Canonical: https://highsignal.app/data/records/71ece230eb7f3162

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:selfhosted)  published 2026-10-31 11:08 ingested 2026-11-01 02:38

[original source ↗](https://www.reddit.com/r/selfhosted/comments/1xk7ghp/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
