Docker Community Forums

Share and learn in the Docker community.

Cant install docker and can't use docker hub on ipv6 only host


(Bessarabov) #1

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.


(Genofirefire) #2

same problem :cry: i really need it

(IPv6 celebrate 20 years in december :scream: )


(Stuart Longland) #3

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. :wink:

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.