7
votes

I am trying to install docker on Ubuntu 14.04, however, I can't get beyond the first step documented here: https://docs.docker.com/engine/installation/ubuntulinux/

$ sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.VB8X4gv8Ty --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server p80.pool.sks-keyservers.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

The key server is timing out after couple of minutes of running this command. Anyone else facing this issue? I saw some posts about firewalls blocking port 11371. But I'm already using port 80, so that shouldn't be the issue.

What can I do to update the keys manually on Ubuntu if the preferred option of getting it from the key server with apt-key is not working?

3
I would take this question to the AskUbuntu or ServerFault.entpnerd
Looks like it's down again.Wilhelm Murdoch

3 Answers

6
votes

Try this key server "hkp://keyserver.ubuntu.com:80"

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

It worked for me.

3
votes

At the time of this writing, http://www.downforeveryoneorjustme.com/p80.pool.sks-keyservers.net reports p80.pool.sks-keyservers.net as being down.

That would explain the error message.


Update an hour later, the p80.pool.sks-keyservers.net is reported up again.

The OP rkrishnan confirms in the comments get docker installed using apt-get install docker-engine

0
votes

Install docker using apt-get install docker-engine and it worked for me. Wonder why this is not the default documented option in docker docs!