Skip to content
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

[ i386/ubuntu:latest ] Temporary failure resolving archive.ubuntu.com #1736

Closed
chrisber opened this issue May 15, 2016 · 1 comment
Closed

Comments

@chrisber
Copy link

chrisber commented May 15, 2016

I'm not able to build a container from this image, because apt-get cannot resolve Temporary failure resolving archive.ubuntu.com
Also ping, netstat, ip ifconfig are not available.

sudo docker run  -ti i386/ubuntu:latest bash
apt-get update
Temporary failure resolving archive.ubuntu.com
docker run --privileged - -ti i386/ubuntu:latest bash
apt-get update
works!

but

docker build -t .

still fails.

@tianon
Copy link
Member

tianon commented May 17, 2016

This isn't likely an issue with the image, and sounds like an issue with either the configuration of your host machine or your network. I would recommend trying the Docker forums or the #docker IRC channel (on Freenode) for help diagnosing and fixing further.

Feel free to comment if you feel I've closed this issue in error (preferably with some case we can use to reproduce the issue).

$ docker run -it --rm i386/ubuntu apt-get update
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [93.3 kB]
Ign:4 http://archive.ubuntu.com/ubuntu xenial/main Sources
Ign:5 http://archive.ubuntu.com/ubuntu xenial/restricted Sources
Ign:6 http://archive.ubuntu.com/ubuntu xenial/universe Sources
Ign:7 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages
Ign:8 http://archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
Ign:9 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources
Ign:11 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources
Ign:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources
Ign:13 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
Ign:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
Get:4 http://archive.ubuntu.com/ubuntu xenial/main Sources [1103 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [5179 B]
Get:6 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9802 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages [1552 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [14.5 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages [9804 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [33.3 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [40 B]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [8342 B]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [104 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [40 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [30.7 kB]
Ign:16 http://archive.ubuntu.com/ubuntu xenial-security/main Sources
Ign:17 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources
Ign:18 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources
Ign:19 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages
Ign:20 http://archive.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:21 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Get:16 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [16.1 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [40 B]
Get:18 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [3299 B]
Get:19 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [60.3 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [40 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [8528 B]
Fetched 23.0 MB in 3s (6773 kB/s)                         
Reading package lists... Done

@tianon tianon closed this as completed May 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants