isc-dhcp server that automatically pulls it's config files from github or a url
521
This image will fetch all dhcp config files from github or a url path and reload when it detects changes.
If checking out from Github you can perform a sparse checkout of the repo by supplying a GIT_PATH environment variable. This will be the directory checked out from the Github repo.
If you want to specify an interface besides eth0 set the INTERFACE environmnet variable to the interface you want the server to listen on and it will only listen on the given interface. Otherwise it will listen on all available interfaces.
docker run --restart=always --name isc-dhcp -e GITHUB_REPO="[email protected]:Factual/some-repo-where-we-keep-configs.git" -e GITHUB_SSH_KEY="`cat ~/.ssh/my_deploy_key`" -e GIT_PATH="/isc-dhcp" -e INTERFACES="eth0 eth1" -e REFRESH=300 factual/isc-dhcp
docker run --restart=always --name isc-dhcp -e URL="https://my-config-files.factual.com/services/isc-dhcp/" -e REFRESH=300 factual/isc-dhcp
Content type
Image
Digest
Size
116.2 MB
Last updated
over 10 years ago
docker pull factual/isc-dhcp