diff --git a/setup/docker/README.md b/setup/docker/README.md index 76a577de..d72aae70 100644 --- a/setup/docker/README.md +++ b/setup/docker/README.md @@ -13,6 +13,78 @@ This is the Git repo of the official Docker image for vuls. This image version is same as the github repository version. +# Caution + +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. + +1. Confirm your vuls version + +- go-cve-dictionary + +```console +$ docker run --rm vuls/go-cve-dictionary -v + +go-cve-dictionary v0.0.xxx xxxx +``` + +- vuls + +```console +$ docker run --rm vuls/vuls -v + +vuls v0.0.xxx xxxx +``` + +2. Remove your old docker images + +- go-cve-dictionary + +``` +$ docker rmi vuls/go-cve-dictionary +``` + +``` +$ docker rmi vuls/vuls +``` + +- vuls + +``` +$ docker rmi vuls/vuls +``` + +3. Pull new vuls docker images + +- go-cve-dictionary + +``` +$ docker pull vuls/go-cve-dictionary +``` + +- vuls + +``` +$ docker pull vuls/vuls +``` + +4. Confirm your vuls version + +```console +$ docker run --rm vuls/go-cve-dictionary -v + +go-cve-dictionary v0.1.xxx xxxx +``` + +- vuls + +```console +$ docker run --rm vuls/vuls -v + +vuls v0.1.xxx xxxx +``` + + # How to use this image 1. fetch nvd (vuls/go-cve-dictionary) diff --git a/setup/docker/go-cve-dictionary/latest/README.md b/setup/docker/go-cve-dictionary/latest/README.md index 9e16d257..588294ae 100644 --- a/setup/docker/go-cve-dictionary/latest/README.md +++ b/setup/docker/go-cve-dictionary/latest/README.md @@ -12,6 +12,18 @@ See the [Hub page](https://hub.docker.com/r/vuls/go-cve-dictionary/) for the ful 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/go-cve-dictionary +``` + +- Pull new docker image + +``` +$ docker pull vuls/go-cve-dictionary +``` + # What is go-cve-dictionary? This is tool to build a local copy of the NVD (National Vulnerabilities Database) [1] and the Japanese JVN [2], which contain security vulnerabilities according to their CVE identifiers [3] including exhaustive information and a risk score. The local copy is generated in sqlite format, and the tool has a server mode for easy querying. diff --git a/setup/docker/vuls/latest/README.md b/setup/docker/vuls/latest/README.md index 6b878599..0fe86285 100644 --- a/setup/docker/vuls/latest/README.md +++ b/setup/docker/vuls/latest/README.md @@ -12,6 +12,18 @@ See the [Hub page](https://hub.docker.com/r/vuls/vuls/) for the full readme on h 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 +``` + # What is Vuls? Vuls is the Vulnerability scanner for Linux/FreeBSD, agentless, written in golang.