First of all, that you for the great product. I’m using Docker and I’m a great fan of it.
But I found out that it is impossible to work with docker ecosytem on ipv6 only host.
So, I have an ubuntu server without ipv4. It has only ipv6. First of all I want to install docker. In the docs there is a recomendataion:
$ sudo sh -c "echo deb https://get.docker.com/ubuntu docker main\
> /etc/apt/sources.list.d/docker.list"
$ sudo apt-get update
$ sudo apt-get install lxc-docker
And it works perfectly well on host with ipv4, but on my ipv6 only host it does not work, because get.docker.com has no ipv6 address:
$ host get.docker.com
get.docker.com has address 162.242.195.82
Ok. But I have managed to install docker some other way. But next I want do pull some base image from docker hub. I run docker pull ubuntu:14.04 but the image can not be downloaded because of the same problem — there is no ipv6 at docker hub server:
$ host registry-1.docker.io
registry-1.docker.io has address 162.242.195.84
Can you please add ipv6 addresses to your servers to make in possible to work with your ecosystem on ipv6 only machines.
Stumbled on this myself just today… I noticed Vultr had some US$2.50 instances, and I was thinking, “I don’t need a public IPv4 for this test”.
Turns out that Vultr don’t provide any kind of IPv4 Internet access, not even NAT, when you do this. Okay, not a show-stopper, or so I thought…
Things fell flat on its face when I did a docker pull. The problem apparently stems from a decision by Amazon to not properly implement IPv6 in their AWS VPC service.
Ohh, and @genofirefire, if you think IPv6 is getting old… IPv4 celebrates its 37th birthday this month.
So yeah, I think this should be better publicised: if you want to make use of hub.docker.com, ensure you have IPv4 Internet access.
get.docker.com — dualstack IPv4 + IPv6, thanks to CloudFront:
% host get.docker.com
get.docker.com is an alias for d3cxuo8f8w64ms.cloudfront.net.
d3cxuo8f8w64ms.cloudfront.net has address 143.204.202.26
d3cxuo8f8w64ms.cloudfront.net has address 143.204.202.41
d3cxuo8f8w64ms.cloudfront.net has address 143.204.202.36
d3cxuo8f8w64ms.cloudfront.net has address 143.204.202.38
d3cxuo8f8w64ms.cloudfront.net has IPv6 address 2600:9000:214f:e200:10:a463:3d00:93a1
d3cxuo8f8w64ms.cloudfront.net has IPv6 address 2600:9000:214f:9000:10:a463:3d00:93a1
d3cxuo8f8w64ms.cloudfront.net has IPv6 address 2600:9000:214f:400:10:a463:3d00:93a1
d3cxuo8f8w64ms.cloudfront.net has IPv6 address 2600:9000:214f:ae00:10:a463:3d00:93a1
d3cxuo8f8w64ms.cloudfront.net has IPv6 address 2600:9000:214f:cc00:10:a463:3d00:93a1
d3cxuo8f8w64ms.cloudfront.net has IPv6 address 2600:9000:214f:2200:10:a463:3d00:93a1
d3cxuo8f8w64ms.cloudfront.net has IPv6 address 2600:9000:214f:b200:10:a463:3d00:93a1
d3cxuo8f8w64ms.cloudfront.net has IPv6 address 2600:9000:214f:8e00:10:a463:3d00:93a1