ubuntu 17.10 Method of installing docker ES2en

  • 2020-09-28 09:17:35
  • OfStack

This article introduces es1EN 17.10 installation method of docker-ES3en, which is Shared as follows:

System requirements: centos 7 64-bit, ES7en-ES8en repository must be enabled.

Uninstall the old Docker

Query the current version of Docker


$ docker -v

If an installed Docker exists, uninstall it


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

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 indicate that there is no installation source in the latest version of Ubuntu17.10. The following steps are for installation of 17.10:


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 

What is different from the current official website is here:


sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable"


Related articles: