Installing docker on Ubuntu 16.10

Just run : sudo apt-get install docker.io and you're good to go.


I have managed to run docker on Ubuntu 16.10 as follows:

1.Update apt and install required certificates $ sudo apt-get update $ sudo apt-get install apt-transport-https ca-certificates 2. Add the GPG key to apt
$ sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D 3. Add the docker repo to the apt list echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list 4. Update apt sudo apt-get update 5. Check that the repo contains the docker installers

  $ apt-cache policy docker-engine

  docker-engine:
    Installed: 1.12.2-0~trusty
    Candidate: 1.12.2-0~trusty
    Version table:
   *** 1.12.2-0~trusty 0
          500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages
          100 /var/lib/dpkg/status
       1.12.1-0~trusty 0
          500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages
       1.12.0-0~trusty 0
          500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages
  1. Install the docker engine

$ sudo apt-get install docker-engine

7.Start the docker daemon.

$ sudo service docker start

  1. Verify that docker is installed correctly by running the hello-world image.

$ sudo docker run hello-world


Use the Xenial sources, they should work fine. Yakkety won't be up until Docker 1.13.


Easiest way to install docker on Ubuntu using following command that you can get from the https://get.docker.com/

This script is meant for quick & easy install via:

$ curl -fsSL https://get.docker.com | sh

or

wget -qO- https://get.docker.com/ | sh

For test builds (ie. release candidates):

$ curl -fsSL https://test.docker.com | sh

or

 wget -qO- https://test.docker.com/ | sh

For rc build with experimental feature:

$ curl -fsSL https://experimental.docker.com | sh

or

 wget -qO- https://experimental.docker.com/ | sh

Tags:

Docker

Ubuntu