LoginSignup
62
49

More than 5 years have passed since last update.

Ubuntu 18.04にDockerをインストールする

Posted at

Ubuntu 18.04でDockerのインストールする際に
https://docs.docker.com/install/linux/docker-ce/ubuntu/
の「Install using the repository」に従ってインストールしたらエラーになります(2018/5/2 確認)

add-apt-repositoryコマンド実行時にstabeだけでなくtestedgeとか追加しておけば、エラーを回避してインストールすることができました。

具体的には下記のコマンドでエラーなくインストールできました。

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable test edge"
sudo apt-get update
sudo apt-get install docker-ce

とりあえず以下のバージョンがインストールされました。

$ docker --version
Docker version 18.05.0-ce-rc1, build 33f00ce
62
49
1

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
62
49