This is NICMx/FORT-validator's official Docker image. It's updated on every release.
Special thanks to ximon18 for his contribution.
Note: Thanks to ARIN's RPA policy update, FORT's Docker image is now (as of version 1.5.4) allowed to ship with all 5 RIR TALs. This means it is no longer necessary to configure them separately.
To pull the official docker image, run
docker pull nicmx/fort-validator:latest
If you want to build the image yourself, run the following command in the current directory:
docker build -t fort-validator:latest .
In case it isn't obvious: This will download a large amount of data; don't run it on a metered connection.
docker run --name fort-validator --publish 323:323 --detach nicmx/fort-validator
Host port 323
is mapped to container port 323
, which is the RTR server's default binding port. Once the first validation cycle is complete, your routers will be able to access the VRP table through this service.
Default configuration:
{
"tal":"/etc/fort/tal",
"local-repository":"/var/local/fort"
}
--detach
runs the container in daemon mode. You can access the logs like so:
docker logs -f fort-validator
Store the local cache in the host machine's /path/to/cache
directory:
docker run \
--name fort-validator \
--publish 323:323 \
--volume /path/to/cache:/var/local/fort \
--detach \
nicmx/fort-validator
Use your own configuration file:
docker run \
--name fort-validator \
--publish 323:323 \
--volume /path/to/fort-config.json:/etc/fort/fort.conf:ro \
--detach \
nicmx/fort-validator
Append command line arguments:
docker run \
--name fort-validator \
--publish 323:323 \
--tty --interactive \
nicmx/fort-validator \
[args]
Print --help
:
docker run \
--name fort-validator \
--rm \
--tty --interactive \
nicmx/fort-validator \
--help
Perform full validation, then print the VRP table to standard output:
docker run \
--name fort-validator \
--rm \
--tty --interactive \
nicmx/fort-validator \
--configuration-file /etc/fort/fort.conf --mode standalone --output.roa -