This is a simple DHCP server.
In order to run this container you'll need docker installed.
/etc/dhcp/dhcpd.conf - DHCP configuration file/var/lib/dhcp/dhcpd.leases - DHCP leases filedocker run -d --network host -v DHCP_CONF_FILE:/etc/dhcp/dhcpd.conf pkbox/simple-dhcp:latest
It is mandatory to run this container in "host" mode if you want it to discover devices on your network.
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
authorative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.150;
option subnet-mask 255.255.255.0;
option domain-name-servers 8.8.8.8;
option routers 192.168.1.1;
get-lease-hostnames true;
use-host-decl-names true;
default-lease-time 600;
max-lease-time 7200;
}
Content type
Image
Digest
Size
4.9 MB
Last updated
almost 5 years ago
docker pull pkbox/simple-dhcp