~dricottone/container-images

ref: a7203db0a58e4c44171294e94198b73681f6312d container-images/dnsmasq/README.md -rw-r--r-- 446 bytes
a7203db0Dominic Ricottone Continuation of Postfix redesign 1 year, 4 months ago

#dnsmasq

#Build and Deploy

make image

#Tags

  • latest

#Use

Can be used with any container manager toolchain.

Create a hosts file in $hostsfile. It should look like:

1.2.3.4 example.com www.example.com

Try:

$conman run --detach --name dnsmasq --restart always \
    --mount type=bind,src=$hostsfile,target=/etc/dnsmasq-hosts,readonly \
    registry.intra.dominic-ricottone.com/dnsmasq:latest