You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Markus Pesch 26d380e123
fix: use podman
1 month ago
rootfs/usr/local/bin Initial Commit 3 months ago
.drone.yml fix: use podman 1 month ago
.editorconfig Initial Commit 3 months ago
.gitattributes Initial Commit 3 months ago
.gitignore Initial Commit 3 months ago
Dockerfile Initial Commit 3 months ago
LICENSE Initial Commit 3 months ago
Makefile fix: use podman 1 month ago
README.md Initial Commit 3 months ago
docker-compose.yml Initial Commit 3 months ago

README.md

container-dhcpd

Build Status Docker Pulls

The container image contains an ISC-DHCP server. The config file must be mounted inside the container image. Optionally the used IP protocol version can be defined (default ipv4).

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/container-dhcpd: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/container-dhcpd: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