Installing Clair and related components
Define Postgresql installation options
Install Postgresql and marathon-lb
dcos package install --yes postgresql dcos package install --yes marathon-lbConnect to Postgres DC/OS instance and then create the clair database
Include a reference to the Postgres articlesCREATE ROLE clair with LOGIN CREATEDB PASSWORD 'somepassword'; CREATE DATABASE clair; GRANT ALL PRIVILEGES ON DATABASE clair to clair;Create the
clair_options.jsonfile to support the installation in the next file- define the postgress userid and password
- XXX other options
Resources
- Base project source code: https://github.com/coreos/clair
- DC/OS framework source code: https://github.com/tobilg/clair-dcos.git