ocagdas / dhcpd

dhcpd server based on alpine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dhcpd

dhcpd server based on alpine

docker build

docker build -f ./Dockerfile-dhcpd -t zmart/dhcpd .

docker run

Make sure that a folder with dhcpd.conf file is mapped to /etc/dhcp in the container. The last parameter is either the interface name or the command you want to run in docker.

docker run --rm -dit --name dhcpd --net host -v $PWD/conf:/etc/dhcp -p 67:67/udp zmart/dhcpd eno1

to test

sudo nmap --script broadcast-dhcp-discover -e eno1

About

dhcpd server based on alpine

License:MIT License


Languages

Language:Shell 100.0%