Sign inSign up

factual/isc-dhcp

By factual

•Updated over 10 years ago

isc-dhcp server that automatically pulls it's config files from github or a url

Image
0

521

factual/isc-dhcp repository overview

⁠isc-dhcp in a docker

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.

⁠Running

⁠Github checkout Example

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

⁠URL Example

docker run --restart=always --name isc-dhcp -e URL="https://my-config-files.factual.com/services/isc-dhcp/" -e REFRESH=300 factual/isc-dhcp

⁠Env Variables

⁠Github Sync
  • GITHUB_REPO
  • GITHUB_SSH_KEY
  • GIT_PATH
  • GIT_BRANCH (default: master)
⁠URL Sync
  • URL
⁠Common
  • REFRESH (default: 300)
  • INTERFACE (default: eth0)

Tag summary

Content type

Image

Digest

Size

116.2 MB

Last updated

over 10 years ago

docker pull factual/isc-dhcp