dhcpd-docker/README.md
Markus Pesch 74c385df68
All checks were successful
continuous-integration/drone/push Build is passing
Initial Commit
2021-08-31 18:37:46 +02:00

1.3 KiB

dhcpd-docker

Build Status Docker Pulls

This project contains all sources to build the container image docker.io/volkerraschek/dhcpd. The primary goal of the image is to run the ISC-DHCPD server inside a container to support distributions which does not deploy a newer version of the DHCP server.

Usage

IPv4 (default)

$ docker run \
    --env DHCP_INTERFACES=br0 \
    --env DHCP_IP=4 \
    --rm \
    --volume ${PWD}/config:/etc/dhcp:ro \
    --volume ${PWD}/data:/var/lib/dhcp:rw \
    --volume /etc/localtime:/etc/localtime:ro \
      volkerraschek/dhcpd-docker:latest

IPv6

$ docker run \
    --env DHCP_INTERFACES=br0 \
    --env DHCP_IP=4 \
    --rm \
    --volume ${PWD}/config:/etc/dhcpd:ro \
    --volume ${PWD}/data:/var/lib/dhcp:rw \
    --volume /etc/localtime:/etc/localtime:ro \
      volkerraschek/dhcpd-docker:latest

Build image manually

To build the images manually check out the repository with git and use the make command to build the container images.

make container-image/build