Sign inSign up

jprjr/ubuntu-dnsmasq

By jprjr

Updated almost 11 years ago

Image
0

1.1K

jprjr/ubuntu-dnsmasq repository overview

jprjr/ubuntu-dnsmasq:14.04

An image with dnsmasq installed.

You should mount /etc/dnsmasq.conf as a volume (and optionally /etc/dnsmasq.d).

Using this image:

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.

Tag summary

Content type

Image

Digest

sha256:b648ead29

Size

100.9 MB

Last updated

almost 11 years ago

docker pull jprjr/ubuntu-dnsmasq