This article introduces how to install docker-ce on Ubuntu 17.10, and shares it with everyone,details as follows:

System requirements:centos 7 64-bit, the centos-extras repository must be enabled.

Uninstall old docker

Query the current docker version

$docker -v

If there is an installed docker, uninstall

$sudo yum remove docker \
docker-common \
docker-selinux \

Note:After uninstalling, the contents under/var/lib/docker/(images, containers, volumes, networks) are still retained.

The current installation steps on the official website will prompt that there is no installation source on the latest version of ubuntu17.10.Here are the steps for 17.10 installation:

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 apt-key fingerprint 0ebfcd88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable"
sudo apt-get update
sudo apt-get install docker-ce

The difference from the current official website is here:

sudo add-apt-repository "deb [arch=amd64] zesty stable"
  • Previous Train ticket grab ticket Python code publicly revealed!
  • Next Vuejs implements random dragging of pictures