How to set permanent DNS for docker container.
Posted by Alex on February 3rd 2018 21:16 PM
Steps 1: We can manually configure nameserver for container by putting nameservers entries into daemon.json file. if daemon.json file doesn't exist, please create it and append below nameserver entery. Steps 2: restart the docker service to reload the config file. Steps 3: Please execute the docker container.