From d447eb8a3ecdc5c5adf748bbd5fb310a5b3ce3a4 Mon Sep 17 00:00:00 2001 From: Hongzhi Li Date: Thu, 7 Sep 2017 10:49:20 -0700 Subject: [PATCH] Update Known issues added the case when container DNS fails. --- docs/deployment/KnownIssues.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/deployment/KnownIssues.md b/docs/deployment/KnownIssues.md index e40ce224..1eaaacdc 100755 --- a/docs/deployment/KnownIssues.md +++ b/docs/deployment/KnownIssues.md @@ -3,4 +3,20 @@ 1. 'docker pull' fails with error "layers from manifest don't match image configuration". Please check the docker version of the 'pull' machine, the 'push' machine, and the docker register. It seems that this is caused by incompatible docker version. [See](https://github.com/docker/distribution/issues/1439) -2. We are still prototyping the platform. Please report issues to the author, so that we can complete the document. \ No newline at end of file +2. We are still prototyping the platform. Please report issues to the author, so that we can complete the document. + +3. In some ubuntu distributions, "NetworkManager" is enable and set dns name server to be "127.0.1.1". This is Ok on the host machine, but may cause issues in the container. Typically, if the container is not using host network and inherits dns name server from the host, the domain name will not be able to be resolved inside container. + If the container network is not working, please check /etc/resolv.conf. If the value is "127.0.1.1", please follow the below instructions to fix: + + NetworkManager is the program which (via the resolvconf utility) inserts address 127.0.1.1 into resolv.conf. NM inserts that address if an only if it is configured to start an instance of the dnsmasq program to serve as a local forwarding nameserver. That dnsmasq instance listens for queries at address 127.0.1.1. + If you do not want to use a local forwarding nameserver then configure NetworkManager not to start a dnsmasq instance and not to insert that address. In /etc/NetworkManager/NetworkManager.conf comment out the line dns=dnsmasq + ``` + sudo vi /etc/NetworkManager/NetworkManager.conf + [main]:q + plugins=ifupdown,keyfile,ofono + #dns=dnsmasq + ``` + and restart the NetworkManager service. + ``` + sudo service network-manager restart + ```