Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

Install Docker CE on Ubuntu 16.04 and newer (x86_64/amd64 architectures)

Setup the Repository

  1. Update the apt package index:
    $ sudo apt-get update
  2. Install packages:
    $ sudo apt-get install \
        apt-transport-https \
        ca-certificates \
        curl \
  3. Add Docker's official GPG key:
    $ curl -fsSL | sudo apt-key add -
  4. Setup the stable repository
    $ sudo add-apt-repository \
    "deb [arch=amd64] \
    $(lsb_release -cs) \

Install Docker CE

  1. Update the apt package index
    $ sudo apt-get update
  2. 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.