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