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

apt.dockerproject.org not availible from ipv6-only host #18342

Closed
alexanderkjall opened this issue Dec 1, 2015 · 12 comments
Closed

apt.dockerproject.org not availible from ipv6-only host #18342

alexanderkjall opened this issue Dec 1, 2015 · 12 comments

Comments

@alexanderkjall
Copy link

It's currently not possible to install docker on an debian machine that's ipv6-only:

$ host -t AAAA apt.dockerproject.org
apt.dockerproject.org is an alias for j.global-ssl.fastly.net.
$ host -t AAAA j.global-ssl.fastly.net.
j.global-ssl.fastly.net has no AAAA record

Could you please add a AAAA record so that you can install docker on ipv6-only hosts.

BUG REPORT INFORMATION

Use the commands below to provide key information from your environment:

docker version: 1.9
docker info: N/A
uname -a: Linux geordi 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux

Provide additional environment details (AWS, VirtualBox, physical, etc.):

List the steps to reproduce the issue:

  1. install virtual machine with only ipv6
  2. add deb https://apt.dockerproject.org/repo debian-jessie main to: /etc/apt/sources.list.d/docker.list
  3. do: apt update

Describe the results you received:
W: Failed to fetch https://apt.dockerproject.org/repo/dists/debian-jessie/main/binary-amd64/Packages

E: Some index files failed to download. They have been ignored, or old ones used instead.

Describe the results you expected:
able to install docker

Provide additional info you think is important:

----------END REPORT ---------

@thaJeztah
Copy link
Member

Possibly related to #17790

/cc @jfrazelle ?

@jessfraz
Copy link
Contributor

jessfraz commented Dec 1, 2015

yes closing as dup of that

@jessfraz jessfraz closed this as completed Dec 1, 2015
@thaJeztah
Copy link
Member

Thanks @jfrazelle I wasn't sure if it was on the same infrastructure 😄

@jessfraz
Copy link
Contributor

this is fixed wooo
2016-01-25-13-17-11_1144x610

@thaJeztah
Copy link
Member

Cool!

@thomasschaeferm
Copy link

For me it doesn't work. I tried the DNS of my ISP and the resolver from Google.

@jessfraz
Copy link
Contributor

I had to turn it off because it broke something, looking at another way

On Mon, Jan 25, 2016 at 2:54 PM, Thomas Schäfer notifications@github.com
wrote:

For me it doesn't work. I tried the DNS of my ISP and the resolver from
Google.


Reply to this email directly or view it on GitHub
#18342 (comment).

@andir
Copy link

andir commented Apr 1, 2017

Are the any news on this issue?
@jessfraz what did break when you did enable IPv6?

@jessfraz
Copy link
Contributor

jessfraz commented Apr 1, 2017 via email

@slugan
Copy link

slugan commented Feb 13, 2018

[ Duplicating post https://github.com//issues/17790#issuecomment-364378339 since this issue (#17790) was about get.docker.com and not apt.dockerproject.org which is used as Debian Docker repository and which is still IPv4-only ]

Hi, do you think it might be possible to try to enable IPv6 support again?

Some other projects also using deb apt to access Amazon CloudFront hosted repositories with IPv6 + TLS seem to have it working for one year now: nodesource/distributions#170 (deb.nodesource.com).

Amazon indeed introduced IPv6 support in CloudFront in October 2016: https://aws.amazon.com/about-aws/whats-new/2016/10/ipv6-support-for-cloudfront-waf-and-s3-transfer-acceleration/ .

[ P.S.: as per indicated in https://github.com//issues/17790#issuecomment-365105419 IPv6 has already been successfully enabled for download.docker.com, get.docker.com and test.docker.com, but not yet apt.dockerproject.org ]

@thaJeztah
Copy link
Member

@slugan (copying here as well) apt.dockerproject.org is deprecated, and only kept for legacy releases; all current releases are published to https://download.docker.com (which contains both the apt and yum repositories, as well as static builds)

@slugan
Copy link

slugan commented Feb 13, 2018

Thanks for the info @thaJeztah!

Here is the process I followed to switch to the new repository on Jessy:

  • in /etc/apt/sources.list.d/docker.list, replace:
    deb https://apt.dockerproject.org/repo debian-jessie main
    with:
    deb https://download.docker.com/linux/debian jessie stable
  • install the corresponding GPG key:
    wget -qO- https://download.docker.com/linux/debian/gpg | apt-key add -
  • clean & update the apt cache:
    apt-get clean all && apt-get update

Everything is indeed working perfectly with IPv6-only connectivity.

Thanks again!

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

6 participants