Merge pull request #81 from coolljt0725/fix_readme
docs: fix the docker cli of running clair in README.md
This commit is contained in:
commit
8ae93abffe
@ -58,7 +58,7 @@ The easiest way to get an instance of Clair running is to simply pull down the l
|
|||||||
$ mkdir $HOME/clair_config
|
$ mkdir $HOME/clair_config
|
||||||
$ curl -L https://raw.githubusercontent.com/coreos/clair/config.example.yaml -o $HOME/clair_config/config.yaml
|
$ curl -L https://raw.githubusercontent.com/coreos/clair/config.example.yaml -o $HOME/clair_config/config.yaml
|
||||||
$ $EDITOR $HOME/clair_config/config.yaml # Add the URI for your postgres database
|
$ $EDITOR $HOME/clair_config/config.yaml # Add the URI for your postgres database
|
||||||
$ docker run quay.io/coreos/clair -p 6060-6061:6060-6061 -v $HOME/clair_config:/config -config=config.yaml
|
$ docker run -p 6060-6061:6060-6061 -v $HOME/clair_config:/config quay.io/coreos/clair -config=/config/config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### Source
|
### Source
|
||||||
|
Loading…
Reference in New Issue
Block a user