Update README.md

Update README.md
This commit is contained in:
chi-chi weng 2017-04-27 22:24:13 +08:00 committed by GitHub
parent 0160ef6d53
commit e9f1ee33c5

View File

@ -110,7 +110,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.example.yaml -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 -d -p 6060-6061:6060-6061 -v /tmp:/tmp -v $PWD/clair_config:/config quay.io/coreos/clair-git:latest -config=/config/config.yaml
```
#### Source