General usage
Last updated
Was this helpful?
Last updated
Was this helpful?
Granted on your machine, download Meterian convenience script .
Render the script executable and simply invoke a one-time analysis of any given Docker image by executing docker-scan.sh
(the target image must be already pulled on you machine)
Following this invocation the analysis kicks off and a link to the final results is displayed right at the end. Here is a sample:
The Meterian docker-scan
script allows to provide different levels of verbosity of the output prompts seen above. Invoke the script with the flag
--info
for additional information logs to be displayed
--debug
for complete debug logs to be displayed
Operational overrides are available through the environment variables
DSE_SCAN_TIMEOUT_MINUTES
Set this variable to override the time limit for single image scans. The default time limit is 10 minutes
METERIAN_ENV
For on-premises instances of Meterian set this variable to target the right subdomain of the site where your instance runs
METERIAN_PROTO
For on-premises instances of Meterian set this variable to target the right HTTP protocol of the site where your instance runs
METERIAN_DOMAIN
For on-premises instances of Meterian set this variable to target the right domain of the site where your instance runs
Analyses need to be authenticated hence you will need to provide through the environment variable METERIAN_API_TOKEN
to execute one.
The script essentially runs the official container scanner Docker image taking care of essential volume maps and environment variables presets for you.