13
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

公式のDocker Engine install 手順道理やると keyserver timed out がでて辛い

Posted at

Add the new GPG key. で突然の keyserver timed out

公式の手順

実行コマンド
$ apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
~~
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

以前も出て数日後に実行したらできたのでkeyserverが死んでる???

でも、僕は今入れたいんだ!!!!
ということで方法探した。

入れようとした環境

VMのUbuntuへの導入

  • Windows7
  • vagrant 1.8.1
  • VirtualBox 5.0.16
  • Ubuntu 14.04

答えはissuesにあった

こちらを参照

もう感謝しかない。嬉しい。本当にありがとう。

呪文
curl https://apt.dockerproject.org/gpg > docker.gpg.key && echo "c836dc13577c6f7c133ad1db1a2ee5f41ad742d11e4ac860d8e658b2b39e6ac1 docker.gpg.key" | sha256sum -c && apt-key add docker.gpg.key && rm docker.gpg.key

このあとは、手順道理で行けた。

$ echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' > /etc/apt/sources.list.d/docker.list
$ apt-get update
$ apt-get purge lxc-docker
$ apt-cache policy docker-engine
$ apt-get update
$ apt-get -y install linux-image-extra-$(uname -r)
$ apt-get update
$ apt-get -y install docker-engine
$ docker -v
Docker version 1.10.3, build 20f81dd
13
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?