This repository was archived by the owner on Jul 18, 2025. It is now read-only.
v0.3.0
Works with at least https://github.com/snyk/snyk/releases/tag/v1.383.1
--loginreplace the--authcommand--tokenflag was added to use with the--logincommand to specify an existing third party provider token--reject-licensereplace the--disableflag to opt-out--accept-licensereplace the--enableflag to opt-in. This flag should be use in a CI context.
Usage: docker scan [OPTIONS] IMAGE
A tool to scan your images
Options:
--accept-license Accept using a third party scanning provider
--dependency-tree Show dependency tree with scan results
--exclude-base Exclude base image from vulnerability scanning (requires --file)
-f, --file string Dockerfile associated with image, provides more detailed results
--json Output results in JSON format
--login Authenticate to the scan provider using an optional token (with --token), or web base token if empty
--reject-license Reject using a third party scanning provider
--token string Authentication token to login to the third party scanning provider
--version Display version of the scan plugin
This version is production ready, no need to setup the staging environment anymore
This release will be available in Docker Desktop v2.3.6.0