mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 00:21:56 +00:00
320 B
320 B
Deploy dnsmasq in docker
Deploy
Run as Server
docker run \
--name dnsmasq \
-d \
--restart always \
--cap-add=NET_ADMIN \
--publish 53:53/udp \
--mount type=bind,src=/etc/localtime,dst=/etc/localtime,readonly \
--mount type=bind,src=/data/dnsmasq/,dst=/etc/dnsmasq.d/ \
newnius/dnsmasq