Skip to content

Commit

Permalink
docs: Update FAQ for docker scan plugin (#477)
Browse files Browse the repository at this point in the history
- Add command to create empty config file required by scan plugin.
- Update scan version
  • Loading branch information
usmansaleem authored Nov 14, 2022
1 parent 7c7c5cb commit 412d01b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,13 @@ Install Docker Scan

```sh
ARCH=amd64 # change to 'arm64' for m1
VERSION=v0.17.0
VERSION=v0.21.0
curl -LO https://github.com/docker/scan-cli-plugin/releases/download/${VERSION}/docker-scan_darwin_${ARCH}
mkdir -p ~/.docker/cli-plugins
mv docker-scan_darwin_${ARCH} ~/.docker/cli-plugins/docker-scan
chmod +x ~/.docker/cli-plugins/docker-scan
mkdir -p ~/.docker/scan
echo "{}" > ~/.docker/scan/config.json # config file required by the docker scan plugin
docker scan --version # verify installation
```

Expand Down

0 comments on commit 412d01b

Please sign in to comment.