Changes between Version 12 and Version 13 of Docker HowTo Install


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Docker HowTo Install

    v12 v13  
    33
    44https://docs.docker.com/engine/installation/linux/ubuntulinux/
     5
     6This is latest as of 05/09/2016 :
    57
    68== Update your apt sources
     
    7577Go ahead and install Docker.
    7678
     79== Install
     80
     81Make sure you have installed the prerequisites for your Ubuntu version.
     82
     83Then, install Docker using the following:
     84
     851. Log into your Ubuntu installation as a user with sudo privileges.
     86
     872. Update your APT package index.
     88
     89    $ sudo apt-get update
     90
     913. Install Docker.
     92
     93    $ sudo apt-get install docker-engine
     94
     95    Start the docker daemon.
     96
     97    $ sudo service docker start
     98
     99    Verify docker is installed correctly.
     100
     101    $ sudo docker run hello-world
     102
     103    This command downloads a test image and runs it in a container. When the container runs, it prints an informational message. Then, it exits.
    77104
    78105
     
    90117
    91118
    92 
    93 {{{
    94   sudo apt-get update
    95 
    96   sudo apt-get install apt-transport-https ca-certificates
    97 
    98   sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
    99 
    100   sudo vi /etc/apt/sources.list.d/docker.list
    101 
    102   cd /etc/apt/
    103 
    104   ls
    105   cd sources.list.d/
    106   ls
    107   sudo vi /etc/apt/sources.list.d/docker.list
    108   cd /home
    109   ls
    110   cd si84/
    111   sudo apt-get update
    112   sudo apt-get purge lxc-docker
    113   apt-cache policy docker-engine
    114   sudo apt-get install linux-image-extra-$(uname -r)
    115   sudo apt-get update
    116   sudo apt-get install docker-engine
    117   sudo service docker start
    118   }}}