Installing Docker on Ubuntu 15.10 - “Wiley”

In this document you will learn how to install docker on Ubuntu 15.10 64 Bit.

  1. Check the Kernel Version

    ubuntu@ubuntu:~$ uname -r
    

    Expected Response

    4.2.0-16-generic
    

2.Update OS

$ apt-get update
  1. Add the keys from the keyserver

    $ sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
    
  2. Add end point for ubuntu-wily to /etc/apt/sources/list.d

    $ sudo vi /etc/apt/sources.list.d/docker.list
    

    For Ubuntu Wily 15.10, add following line to the file

    deb https://apt.dockerproject.org/repo ubuntu-wily main
    
  3. For aufs use linux-image-extra

    $ sudo apt-get install linux-image-extra-$(uname -r)
    
  4. Install docker binary

    sudo apt-get install docker-engine
    sudo service docker start
    
  5. Optional : Add current user to docker group to avoid using sudo

     sudo usermod -aG docker ubuntu
    
    Give Permissions to current user to execute docker binary
    
    sudo chmod 755 /usr/bin/docker