docker:security:find_fix_and_monitor_for_open_source_vulnerabilities
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docker:security:find_fix_and_monitor_for_open_source_vulnerabilities [2020/04/18 19:31] – created peter | docker:security:find_fix_and_monitor_for_open_source_vulnerabilities [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 15: | Line 15: | ||
<code bash> | <code bash> | ||
snyk monitor --docker node:10 | snyk monitor --docker node:10 | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Scan a Docker image for known vulnerabilities with these commands: | ||
+ | |||
+ | <code bash> | ||
+ | # fetch the image to be tested so it exists locally | ||
+ | docker pull node:10 | ||
+ | # scan the image with snyk | ||
+ | snyk test --docker node:10 --file=path/ | ||
</ | </ | ||
docker/security/find_fix_and_monitor_for_open_source_vulnerabilities.1587238272.txt.gz · Last modified: 2020/07/15 09:30 (external edit)