Changes between Version 8 and Version 9 of Docker HowTo Install


Ignore:
Timestamp:
09/05/16 15:20:30 (8 years ago)
Author:
saj.issa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docker HowTo Install

    v8 v9  
    33
    44https://docs.docker.com/engine/installation/linux/ubuntulinux/
     5
     6== Update your apt sources
     7
     8Docker’s APT repository contains Docker 1.7.1 and higher. To set APT to use packages from the new repository:
     9
     101. Log into your machine as a user with sudo or root privileges.
     11
     122. Open a terminal window.
     13
     143. Update package information, ensure that APT works with the https method, and that CA certificates are installed.
     15
     16    {{{$ sudo apt-get update
     17    $ sudo apt-get install apt-transport-https ca-certificates }}}
     18
     194. Add the new GPG key.
     20
     21    {{{$ sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D }}}
     22
     235. Open the /etc/apt/sources.list.d/docker.list file in your favorite editor.
     24
     25If the file doesn’t exist, create it.
     26
     276. Remove any existing entries.
     28
     297. Add an entry for your Ubuntu operating system.
     30
     31The possible entries are:
     32
     33Ubuntu Xenial 16.04 (LTS)
     34
     35    {{{deb https://apt.dockerproject.org/repo ubuntu-xenial main}}}
     36
     378. Save and close the /etc/apt/sources.list.d/docker.list file.
     38
     399. Update the APT package index.
     40
     41    {{{$ sudo apt-get update}}}
     42
     4310. Purge the old repo if it exists.
     44
     45    {{{$ sudo apt-get purge lxc-docker}}}
     46
     4711. Verify that APT is pulling from the right repository.
     48
     49    {{{$ apt-cache policy docker-engine}}}
     50
     51From now on when you run apt-get upgrade, APT pulls from the new repository.
     52
    553
    654== Prerequisites by Ubuntu Version