Dnsmasq provides a DNS server, a DHCP server with support for DHCPv6 and PXE, and a TFTP server.
Container Registry · Project Source
$ docker pull ghcr.io/akafeng/dnsmasq
$ docker run -d \
-v /etc/dnsmasq.conf:/etc/dnsmasq.conf \
--cap-add=NET_ADMIN \
--network=host \
--restart=always \
--name=dnsmasq \
ghcr.io/akafeng/dnsmasq