Bash script to add running docker containers to dnsmasq config and restart dnsmasq service
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
update-docker-dnsmasq

README.md

docker-dnsmasq

Bash script to add running docker containers to dnsmasq config and restart dnsmasq service.

sudo cp update-docker-dnsmasq /usr/local/bin
# DOCKERDNS_FILE=/etd/dnsmasq.d/docker 
# DOCKERDNS_SUFFIX=.docker.local
update-docker-dnsmasq
# DOCKERDNS_FILE will be generated