DNS on Docker
The base image used is alpine (version 3.2) (https://www.alpinelinux.org/). Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.
Install dnsmasq and make it the Docker container entrypoint.
Usage and options can be found on http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html, don't forget to share your config folder, basically:
docker run -v /var/my/config:/config:ro -p 53:53 ebuildy/dns -h