How to install Docker Community Edition (CE) 17.09.0 on Ubuntu 17.04 (Zesty)

subject: Docker · date: 2017-12-07

  1. (Optional) If older versions of Docker are installed, uninstall them:

    $ sudo apt-get remove docker docker-engine
  2. Install dependent packages:

    $ sudo apt-get update
    $ sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
  3. Add Docker's official GPG key:

    $ curl -fsSL | sudo apt-key add -
  4. Set up repository:

    $ sudo add-apt-repository "deb [arch=amd64] zesty stable"
  5. Install Docker:

    $ sudo apt-get update
    $ sudo apt-get install docker-ce
  6. Verify that Docker is installed correctly:

    $ sudo docker version

share this article