This is the Git repo of the official Docker image for vuls. See the Hub page for the full readme on how to use the Docker image and for information regarding contributing and issues.
This image is built per commit. If you want to use the latest docker image, you should remove the existing image, and pull it once again.
- Remove old docker image
$ docker rmi vuls/vuls
- Pull new docker image
$ docker pull vuls/vuls
Vuls is the Vulnerability scanner for Linux/FreeBSD, agentless, written in golang. Please see the Documentation
$ docker run --rm vuls/vuls -v
Create config.toml referring to this.
[servers]
[servers.amazon]
host = "54.249.93.16"
port = "22"
user = "vuls-user"
keyPath = "/root/.ssh/id_rsa" # path to ssh private key in docker
$ docker run --rm -it \
-v ~/.ssh:/root/.ssh:ro \
-v $PWD:/vuls \
-v $PWD/vuls-log:/var/log/vuls \
vuls/vuls configtest \
-config=./config.toml # path to config.toml in docker
$ docker run --rm -it \
-v ~/.ssh:/root/.ssh:ro \
-v $PWD:/vuls \
-v $PWD/vuls-log:/var/log/vuls \
-v /etc/localtime:/etc/localtime:ro \
vuls/vuls scan \
-config=./config.toml # path to config.toml in docker
$ docker run --rm -it \
-v ~/.ssh:/root/.ssh:ro \
-v $PWD:/vuls \
-v $PWD/vuls-log:/var/log/vuls \
-v /etc/localtime:/etc/localtime:ro \
vuls/vuls report \
-cvedb-path=/vuls/cve.sqlite3 \
-format-short-text \
-config=./config.toml # path to config.toml in docker
$ docker run --rm -it \
-v $PWD:/vuls \
-v $PWD/vuls-log:/var/log/vuls \
vuls/vuls tui \
-cvedb-path=/vuls/cve.sqlite3
Prease refer to this.
Documentation for this image is stored in the docker/
directory of the future-architect/vuls
GitHub repo.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
- fork a repository: github.com/future-architect/vuls to github.com/you/repo
- get original code: go get github.com/future-architect/vuls
- work on original code
- add remote to your repo: git remote add myfork https://github.com/you/repo.git
- push your changes: git push myfork
- create a new Pull Request