Skip to content

Commit

Permalink
Merge pull request #109 from voronaam/patch-1
Browse files Browse the repository at this point in the history
Minor changes to the README
  • Loading branch information
arminc committed Nov 17, 2020
2 parents 1dabac9 + f7259f4 commit f7a9d3b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -51,6 +51,8 @@ clair-scanner is available on Linux, MacOS, and Windows platforms.
# Clone the repo
git clone git@github.com:arminc/clair-scanner.git
# Build and install
cd clair-scanner
make build
make installLocal
# Run
./clair-scanner -h
Expand All @@ -75,8 +77,8 @@ make cross
Example of a container scan, start Clair:

```bash
docker run -p 5432:5432 -d --name db arminc/clair-db:2017-09-18
docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:v2.0.6
docker run -p 5432:5432 -d --name db arminc/clair-db:latest
docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:latest
```

Now scan a container, that has a whitelisted CVE (this is on OSX with Docker for Mac):
Expand Down

0 comments on commit f7a9d3b

Please sign in to comment.