User Tools

Site Tools


docker:security:find_fix_and_monitor_for_open_source_vulnerabilities

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docker:security:find_fix_and_monitor_for_open_source_vulnerabilities [2020/04/18 19:31] – created peterdocker: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
 +</code>
 +
 +----
 +
 +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/to/Dockerfile
 </code> </code>
  
docker/security/find_fix_and_monitor_for_open_source_vulnerabilities.1587238272.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki