Install Docker CE on Ubuntu 16.04 and newer (x86_64/amd64 architectures)
October 8, 2018 ยท View on GitHub
Setup the Repository
- Update the apt package index:
$ sudo apt-get update - Install packages:
$ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common - Add Docker's official GPG key:
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - Setup the stable repository
$ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
Install Docker CE
- Update the apt package index
$ sudo apt-get update - Install the latest version of Docker CE
$ sudo apt-get install docker-ce
More Information of Docker installation
If you are using other OS version, or want to learn more about Docker installation, please view docker docs.