An image with dnsmasq installed.
You should mount /etc/dnsmasq.conf as a volume (and optionally /etc/dnsmasq.d).
First, if you need a dnsmasq.conf file --
$ docker run -v /path/to/new/dnsmasq.conf:/etc/dnsmasq.conf --entrypoint /opt/copyconf.sh jprjr/ubuntu-dnsmasq:14.04
Then, after editing dnsmasq.conf:
$ docker run -p 53:53 -v /path/to/new/dnsmasq.conf:/etc/dnsmasq.conf jprjr/ubuntu-dnsmasq:14.04
Now you can do some neat stuff - like run another container, and use the --dns flag to have
local DNS.
Content type
Image
Digest
sha256:b648ead29…
Size
100.9 MB
Last updated
almost 11 years ago
docker pull jprjr/ubuntu-dnsmasq