Page | 17
www.hackingarticles.in
Also, run the docker image for Postgres to link Clair scan with the help of
the following command
.
Now, let’s use the Clair for
scanning the vulnerability of
a container or docker image, with the help of
the following command.
Syntax: ./clair-scanner -ip
-r output.jason
docker run -p 6060:6060 --link db:postgres -d
--name clair arminc/clair-local-scan:latest
./clair-scanner --ip 172.17.0.1 -r
report.json ubuntu:16.04