https://github.com/volker-raschek/dhcpd-docker
[MIRROR]: Source files of the container image volkerraschek/dhcpd
https://github.com/volker-raschek/dhcpd-docker
container dhcpd
Last synced: about 2 months ago
JSON representation
[MIRROR]: Source files of the container image volkerraschek/dhcpd
- Host: GitHub
- URL: https://github.com/volker-raschek/dhcpd-docker
- Owner: volker-raschek
- License: other
- Created: 2024-12-20T09:19:22.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-02-28T20:14:02.000Z (3 months ago)
- Last Synced: 2025-02-28T23:29:46.123Z (3 months ago)
- Topics: container, dhcpd
- Language: Makefile
- Homepage: https://hub.docker.com/r/volkerraschek/dhcpd
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dhcpd-docker
[](https://drone.cryptic.systems/volker.raschek/dhcpd-docker)
[](https://hub.docker.com/r/volkerraschek/dhcpd)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)
```bash
$ 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
```bash
$ 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](https://drone.cryptic.systems/volker.raschek/dhcpd-docker) with
`git` and use the `make` command to build the container images.```bash
make container-image/build
```