how we can scan images without proxy #10226
Unanswered
jainpratik163
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Hi, thanks for reaching out. Based on your debug output, it looks like DNS resolution for There are two common solutions depending on your setup: 1. If you have a proxy serverTrivy respects the standard proxy environment variables. You just need to set them before running Trivy: export HTTP_PROXY=http://your-proxy:port
export HTTPS_PROXY=http://your-proxy:port
trivy image your-imageSee the Troubleshooting documentation for more details. 2. If you have no internet access at all (air-gapped environment)You need to download the vulnerability database on a machine that has internet access, then transfer it to your air-gapped environment. Please follow the Air-Gapped Environment documentation for step-by-step instructions. Hope this helps! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
we dont have internet. how we can scan not images.
and lets say we have to set proxy how we can pass via cli eg
trivy --proxy abc.comDesired Behavior
idealy we should pass proxy or scan without proxy
Actual Behavior
without internet scan is failing
Reproduction Steps
Target
Container Image
Scanner
Vulnerability
Output Format
Table
Mode
Standalone
Debug Output
Operating System
Linux
Version
Checklist
trivy clean --allBeta Was this translation helpful? Give feedback.
All reactions