Add a note about snyk minimal version. (#11346)

* Add a note about snyk minimal version.
Bump docker scan and snyk versions in the docker scan --version output sample.

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>

* Minor style updates

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
This commit is contained in:
Silvin Lubecki 2020-09-08 12:44:37 +02:00 committed by GitHub
parent 0c55a6ddcf
commit ef9bd5ab20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -34,11 +34,17 @@ Check your installation by running `docker scan --version`, it should print the
```shell
$ docker scan --version
Version: v0.3.0
Git commit: b8ee514
Provider: Snyk (1.383.1)
Version: v0.3.3
Git commit: 1bab774
Provider: Snyk (1.385.0)
```
> **Note:**
>
> Docker Scan uses the Snyk binary installed in your environment by default. If
this is not available, it uses the Snyk binary embedded in Docker Desktop.
> The minimum version required for Snyk is `1.385.0`.
## Supported options
The high-level `docker scan` command scans local images using the image name or the image ID. It supports the following options: