New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker DNS issue when build docker image #15439
Comments
Hi! Please read this important information about creating issues. If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information. This is an automated, informational response. Thank you. For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues BUG REPORT INFORMATIONUse the commands below to provide key information from your environment:
Provide additional environment details (AWS, VirtualBox, physical, etc.): List the steps to reproduce the issue: Describe the results you received: Describe the results you expected: Provide additional info you think is important: ----------END REPORT --------- #ENEEDMOREINFO |
Similar error here. I am trying to pull an Image and a timeout. version:
info:
uname:
/etc/resolve.conf
/etc/default/docker
Reproduce by:
ping
|
Update to 1.8 and try again. I believe it is solved here: #13381 |
@Yuan78 @berlineddy Just to make sure, if your host is using systemd, content of |
@theSprankle : Hi, how to update to 1.8? I try "curl -sSL https://get.docker.com/ | sh", but the result shows only 1.7 available. @aboch , Hi, my OS is ubuntu 14.10, hence cannot use systemd,I try to config /etc/default/docker, but it still does not work. |
@Yuan78 correct, Ubuntu 14.10 is EOL'd by Ubuntu (http://fridge.ubuntu.com/2015/07/03/ubuntu-14-10-utopic-unicorn-reaches-end-of-life-on-july-23-2015/) and we no longer publish Docker for 14.10. You should either upgrade to Ubuntu 15.04 (which is still supported), or use a LTS release (currently Ubuntu 14.04) |
@Yuan78 Before Update, make sure you uninstall docker.io/similar packages Install 1.8.1 on ubuntu 14.04.3, Kernel 3.19 (via Hardware Enablement Stack http://www.slicewise.net/debian/hardware-enablement-stack-fuer-ubuntu-1404-lts-trusty-tahr/):
|
This is quite old, and there were no complaints for a year. Going to close it. Feel free to reopen if problem persists. |
Hi,
I encountered DNS issue when I run make dockerfile to build docker image, details as follow
When run " curl sSL https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz "
It show error : could not resolv the host.
But I already set "DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4" in /etc/default/docker.
And my host machine (ubuntu 14.10) was also set nameserver 8.8.8.8& nameserver 8.8.4.4 in /etc/resolv.conf.
But why there is still DNS issues?
What's the reason? Pls help
BTW: Because China GFW blocked the download resources , I run docker service as below command line:
sudo HTTP_PROXY=127.0.0.1:8118 docker -d & (I use privoxy to serve as a local proxy 127.0.0.1:8118 which transfer shadowsock socket 5 proxy to http proxy to surmount GFW)
The text was updated successfully, but these errors were encountered: