docker run -d --rm --name dnsmasq -p 53:53/udp -v /my/dnsmasq_dir:/mnt/dnsmasq skopciewski/dnsmasq
Redirects all params to the dnsmasq command. Workdir is /mnt/dnsmasq.
-d -C dnsmasq.conf
If you want to execute other command than dnsmasq, run docker container with escto as first param:
docker run -it --rm --name dnsmasq -p 52:52/udp -v /my/dnsmasq_dir:/mnt/dnsmasq skopciewski/dnsmasq escto sh
Content type
Image
Digest
Size
3.9 MB
Last updated
about 5 years ago
docker pull skopciewski/dnsmasq