docs: fix the docker cli of running clair in README.md

Signed-off-by: Lei Jitang <leijitang@huawei.com>
pull/81/head
Lei Jitang 8 years ago
parent 76c7136f8e
commit 859b1942a5

@ -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
$ 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
$ 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

Loading…
Cancel
Save