Merge pull request #116 from BWITS/master
run clair container in background
This commit is contained in:
commit
74d1f7fdd3
@ -91,7 +91,7 @@ This is the recommended method for production deployments.
|
|||||||
$ mkdir $HOME/clair_config
|
$ mkdir $HOME/clair_config
|
||||||
$ curl -L https://raw.githubusercontent.com/coreos/clair/master/config.example.yaml -o $HOME/clair_config/config.yaml
|
$ curl -L https://raw.githubusercontent.com/coreos/clair/master/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 -p 6060-6061:6060-6061 -v $HOME/clair_config:/config quay.io/coreos/clair -config=/config/config.yaml
|
$ docker run -d -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