This image starts a bind9 server. Its configuration is read from a data container.
Create the data container, as explained here.
This data container is named dnsserverdata
.
Get the image:
docker pull pascalbod/dns:20141223
Run it:
docker run --name dnsserver --volumes-from dnsserverdata -d -p 53:53/udp -p 53:53 --restart=always pascalbod/dns:20141223
See this article.