Trivy should use docker context to select the docker daemon #7685
Closed
PascalTurbo
started this conversation in
Ideas
Replies: 1 comment
-
Track #7686 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Docker is aware of using multiple docker daemons. These are managed with
docker context
(https://docs.docker.com/engine/manage-resources/contexts/)Currently trivy ignores the context and just tries to use the local docker daemon.
For example when using rancher desktop without root permissions, docker socket ist not set at the default path but it's available in users home directory. Currently it's nescessary to get the path manually from the context configuration and pass it to the "--docker-host" option.
Target
Container Image
Scanner
None
Beta Was this translation helpful? Give feedback.
All reactions