Sign inSign up

chockemeyer/dhcpd

By chockemeyer

•Updated almost 8 years ago

DHCPD container on ubuntu:18.04 basis

Image
0

1.3K

chockemeyer/dhcpd repository overview

Docker container offering DHCP Server.

Please note that you must use "net=host" to make it work.

docker run -d  --name dhcpd  \
    -v <docker-config-directory>:/etc/dhcp/ \
    -v <docker-leases-directory>:/var/lib/dhcp/ \
    --net=host \
    chockemeyer/dhcp

The underlying Dockerfile:

FROM ubuntu:18.04

MAINTAINER Cord Hockemeyer <[email protected]>

WORKDIR /install
ADD . /install

ENV TZ=Europe/Vienna
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt update && apt install -y apt && apt upgrade -y && apt install -y isc-dhcp-server vim


CMD ["dhcpd", "-f"]

Tag summary

Content type

Image

Digest

Size

68 MB

Last updated

almost 8 years ago

docker pull chockemeyer/dhcpd