Create a volume container for the /data:
docker run -d -v /data --name dhcpd-data busybox true
Run the container:
docker run -d --volumes-from dhcpd-data --name dhcpd lukwam/isc-dhcpd
Use a temporary container to edit the /data/dhcpd.conf:
docker run -i -t --volumes-from dhcpd-data busybox /bin/sh -l
Edit /data/dhcpd.conf as desired, then restart the dhcpd container.
Content type
Image
Digest
sha256:5d9778db8…
Size
59.3 MB
Last updated
almost 11 years ago
docker pull lukwam/isc-dhcpd