Skip to content

Commit

Permalink
Merge pull request #484 from odg0318/master
Browse files Browse the repository at this point in the history
Usage of running clair via docker is wrongly written.
  • Loading branch information
jzelinskie committed Dec 20, 2017
2 parents e2497ec + 821fb24 commit 30bd568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/running-clair.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ If this error is raised, manually execute `docker-compose start clair`.
$ mkdir $PWD/clair_config
$ curl -L https://raw.githubusercontent.com/coreos/clair/master/config.yaml.sample -o $PWD/clair_config/config.yaml
$ docker run -d -e POSTGRES_PASSWORD="" -p 5432:5432 postgres:9.6
$ docker run -d -p 6060-6061:6060-6061 -v $PWD/clair_config:/config quay.io/coreos/clair-git:latest -config=/config/config.yaml
$ docker run --net=host -d -p 6060-6061:6060-6061 -v $PWD/clair_config:/config quay.io/coreos/clair-git:latest -config=/config/config.yaml
```

#### Source
Expand Down

0 comments on commit 30bd568

Please sign in to comment.