Skip to content

Commit

Permalink
docs: install clairctl correctly
Browse files Browse the repository at this point in the history
Signed-off-by: ldelossa <ldelossa@redhat.com>
  • Loading branch information
ldelossa authored and ldelossa committed Feb 7, 2021
1 parent df5e7f9 commit 44303dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/howto/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ clair -conf "path/to/config.yaml" -mode "combo"
The simplest way to submit a manifest to your running Clair is utilizing [clairctl](../reference/clairctl.md). This is a CLI tool capable of grabbing image manifests from public repositories and and submitting them for analysis.
The command will be in the Clair container, but can also be installed locally by running the following command:
```
go install github.com/quay/clair/v4/cmd/clairctl
GO111MODULE=on go get github.com/quay/clair/v4/cmd/clairctl@latest
```
Ensure you run the above command outside of any Go directory with a go.mod file.

You can submit a manifest to ClairV4 via the following command.
```shell
Expand Down

0 comments on commit 44303dc

Please sign in to comment.