Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
-
IMHO this kind of error should not be 'fatal' and stop all the scanning |
Beta Was this translation helpful? Give feedback.
-
This is still an issue, which I'm seeing when running Trivy from inside of a Bottlerocket admin container. Additionally, specifying globs is broken in this scenario. For example, when running inside of a Bottlerocket admin container, there are two different /proc directories:
Adding a However, if I get a little more specific and make it According to the docs, something like Update: It looks like |
Beta Was this translation helpful? Give feedback.
-
Description
When running trivy on host machine everything works fine. When executing the same Trivy command inside of a container it fails.
It fails specifically when it tries to scan the container's own
/proc
directory.Desired Behavior
Host machine scanned from inside the container successfully
Actual Behavior
Reproduction Steps
Target
Filesystem
Scanner
None
Output Format
CycloneDX
Mode
Standalone
Debug Output
Operating System
host: Fedora, container: Alpine
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions