-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to enable networking? #13
Comments
I am noticing that arm64 builds do not have networking enabled. All apt-get commands return something like:
Example build: Any ideas? |
I cannot reproduce this. On my macbook I do the following without problems: $ docker run --rm --privileged multiarch/qemu-user-static:register --reset
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
$ docker run -ti --rm multiarch/ubuntu-core:arm64-xenial
root@a49a193c9951:/# apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [109 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease [107 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [107 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports xenial/universe Sources [9802 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports xenial/universe arm64 Packages [9493 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse arm64 Packages [146 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe Sources [301 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 Packages [887 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe arm64 Packages [824 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse arm64 Packages [12.3 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports xenial-backports/main arm64 Packages [7905 B]
Get:13 http://ports.ubuntu.com/ubuntu-ports xenial-backports/universe arm64 Packages [7069 B]
Get:14 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe Sources [114 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports xenial-security/main arm64 Packages [529 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe arm64 Packages [454 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse arm64 Packages [1117 B]
Fetched 22.9 MB in 10s (2158 kB/s)
Reading package lists... Done
root@a49a193c9951:/# |
@seank-com |
According to Ubuntu, Wily went End of Life 7-28-2016 Xenial will be supported until April 2024 Look like there are newer versions of the container on Docker hub. I'd go for |
Hi, I like this image but I can't sem to even do apt-get update. See errors below. There must be some required step to enable networking. Any ideas? Thanks.
root@fd3d3c91aa79:/# apt-get update
Ign http://ports.ubuntu.com wily InRelease
Ign http://ports.ubuntu.com wily-updates InRelease
Ign http://ports.ubuntu.com wily-security InRelease
Ign http://ports.ubuntu.com wily Release.gpg
Ign http://ports.ubuntu.com wily-updates Release.gpg
Ign http://ports.ubuntu.com wily-security Release.gpg
Ign http://ports.ubuntu.com wily Release
Ign http://ports.ubuntu.com wily-updates Release
Ign http://ports.ubuntu.com wily-security Release
Ign http://ports.ubuntu.com wily/main arm64 Packages/DiffIndex
Ign http://ports.ubuntu.com wily/restricted arm64 Packages/DiffIndex
Ign http://ports.ubuntu.com wily-updates/main arm64 Packages/DiffIndex
Ign http://ports.ubuntu.com wily-updates/restricted arm64 Packages/DiffIndex
Ign http://ports.ubuntu.com wily-security/main arm64 Packages/DiffIndex
Ign http://ports.ubuntu.com wily-security/restricted arm64 Packages/DiffIndex
Err http://ports.ubuntu.com wily/main Sources
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily/restricted Sources
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily/universe Sources
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily/universe arm64 Packages
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-updates/main Sources
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-updates/restricted Sources
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-updates/universe Sources
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-updates/universe arm64 Packages
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-security/main Sources
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-security/restricted Sources
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-security/universe Sources
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-security/universe arm64 Packages
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily/main arm64 Packages
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily/restricted arm64 Packages
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-updates/main arm64 Packages
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-updates/restricted arm64 Packages
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-security/main arm64 Packages
404 Not Found [IP: 91.189.88.150 80]
Err http://ports.ubuntu.com wily-security/restricted arm64 Packages
404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily/main/source/Sources 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily/restricted/source/Sources 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily/universe/source/Sources 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-updates/main/source/Sources 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-updates/restricted/source/Sources 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-updates/universe/source/Sources 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-updates/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-security/main/source/Sources 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-security/restricted/source/Sources 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-security/universe/source/Sources 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-security/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily/restricted/binary-arm64/Packages 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-updates/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-updates/restricted/binary-arm64/Packages 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/wily-security/restricted/binary-arm64/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
The text was updated successfully, but these errors were encountered: