Public Repository

Last pushed: 9 months ago
Short Description
https://github.com/tonistiigi/dnsdock image, below 20MB, based on frolvlad/alpine-glibc image.
Full Description

Simple but great DNS service for docker containers discovery on one host: https://github.com/tonistiigi/dnsdock

Start container

docker run --rm --name dns \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 172.17.42.1:53:53/udp \
cycomf/dnsdock /sbin/dnsdock

Options

App

-dns=":53": Listen DNS requests on this address
-docker="unix://var/run/docker.sock": Path to the docker socket
-domain="docker": Domain that is appended to all requests
-environment="": Optional context before domain suffix
-help=false: Show this message
-http=":80": Listen HTTP requests on this address
-nameserver="8.8.8.8:53": DNS server for unmatched requests
-ttl=0: TTL for matched requests
-verbose=true: Verbose output
-tlsverify=false: enable mutual TLS between dnsdock and Docker
-tlscacert="$HOME/.docker/ca.pem": Path to CA certificate
-tlscert="$HOME/.docker/cert.pem": Path to client certificate
-tlskey="$HOME/.docker/key.pem": Path to client certificate private key

end to

Docker Pull Command
Owner
cycomf