Docker CEをLinux Mint 18.3 Sylvia 64bitにインストールする

1. 公式サイト

以下のサイトの「Install using the repository」の指示通りインストールすればよい.

2. Linux Mint 18.3 Sylvia 64bitにインストール

Linux Mint 18.3 Sylvia 64bitにインストールする方法を書いておく

2.1 リポジトリの設定


$ sudo apt-get update
$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \


$ curl -fsSL | sudo apt-key add -


$ sudo apt-key fingerprint 0EBFCD88


pub   4096R/0EBFCD88 2017-02-22
      Key fingerprint = 9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
      uid                  Docker Release (CE deb) <>
      sub   4096R/F273FCD8 2017-02-22


$ sudo add-apt-repository \
   "deb [arch=amd64] \
   xenial \

2.2 Docker CEのインストール

Docker CEをインストールする.

$ sudo apt-get update
$ sudo apt-get install docker-ce

2.3 動作確認


$ sudo docker run hello-world


Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
ca4f61b1923c: Pull complete 
Digest: sha256:66ef312bbac49c39a89aa9bcc3cb4f3c9e7de3788c944158df3ee0176d32b751
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
 executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
 to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:

For more examples and ideas, visit:

2.4 dockerグループに所属


$ sudo gpasswd -a $USER docker
$ id


$ docker run hello-world