This is a Docker project to scan either the GSA current Federal .gov domain list or a given CSV in the same format with the cisagov/hash-http-content Python library. Then it will output CSVs with agency and domain level results.
To run the cisagov/vdp-scanner
image via Docker:
docker run cisagov/vdp-scanner:0.2.0-dev.4
-
Create a
docker-compose.yml
file similar to the one below to use Docker Compose.--- version: "3.7" services: vdp-scanner: image: 'cisagov/vdp-scanner:0.2.0-dev.4' volumes: - .:/task/host_mount
-
Start the container and detach:
docker compose up --detach
-
Pull the new image from Docker Hub:
docker compose pull
-
Recreate the running container by following the previous instructions:
docker compose up --detach
-
Stop the running container:
docker stop <container_id>
-
Pull the new image:
docker pull cisagov/vdp-scanner:0.2.0-dev.4
-
Recreate and run the container by following the previous instructions.
The images of this container are tagged with
semantic versions. It is recommended that most users use
a version tag (e.g. :0.2.0-dev.4
).
Image:tag | Description |
---|---|
cisagov/vdp-scanner:0.2.0-dev.4 |
An exact release version. |
cisagov/vdp-scanner:0.2 |
The most recent release matching the major and minor version numbers. |
cisagov/vdp-scanner:0 |
The most recent release matching the major version number. |
cisagov/vdp-scanner:edge |
The most recent image built from a merge into the develop branch of this repository. |
cisagov/vdp-scanner:nightly |
A nightly build of the develop branch of this repository. |
cisagov/vdp-scanner:latest |
The most recent release image pushed to a container registry. Pulling an image using the :latest tag should be avoided. |
See the tags tab on Docker Hub for a list of all the supported tags.
Mount point | Purpose |
---|---|
/task/host_mount |
Output directory. |
There are no exposed ports.
There are no required environment variables.
There are no optional environment variables.
There are no secrets.
Build the image locally using this git repository as the build context:
docker build \
--tag cisagov/vdp-scanner:0.2.0-dev.4 \
https://github.com/cisagov/vdp-scanner-docker.git#develop
To create images that are compatible with other platforms, you can use the
buildx
feature of
Docker:
-
Copy the project to your machine using the
Code
button above or the command line:git clone https://github.com/cisagov/vdp-scanner-docker.git cd vdp-scanner-docker
-
Create the
Dockerfile-x
file withbuildx
platform support:./buildx-dockerfile.sh
-
Build the image using
buildx
:docker buildx build \ --file Dockerfile-x \ --platform linux/amd64 \ --output type=docker \ --tag cisagov/vdp-scanner:0.2.0-dev.4 .
We welcome contributions! Please see CONTRIBUTING.md
for
details.
This project is in the worldwide public domain.
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.