run clair container in background
This commit is contained in:
parent
2121e76f98
commit
b6fc2c02f3
@ -91,7 +91,7 @@ This is the recommended method for production deployments.
|
||||
$ mkdir $HOME/clair_config
|
||||
$ 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
|
||||
$ 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
|
||||
|
Loading…
Reference in New Issue
Block a user