14.04 method 1 for installing docker:
$ sudo apt-get update$ sudo apt-get install docker.io$ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker$ sudo sed -i ‘$acomplete -F _docker docker‘ /etc/bash_completion.d/docker.io$ sudo apt-get install apt-transport-https$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9$ sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"$ sudo apt-get update$ sudo apt-get install lxc-docker
14.04 install docker Method 2:
$ Curl-SSL https://get.docker.io/ubuntu/ | sudo sh # view [email protected]: ~ $ Sudo apt-Get install vimreading package lists... donebuilding dependency tree reading state information... donevim is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded. [email protected]: ~ $ VI./index.html # Check that HTTPS transport is available to aptif [! -E/usr/lib/APT/methods/HTTPS]; then apt-Get update apt-Get install-y apt-transport-httpsfi # Add the repository to your apt sourcesecho Deb https://get.docker.io/ubuntu docker main>/etc/APT/sources. list. d/docker. list # then import the repository keyapt-key adv -- keyserver HKP: // keyserver.ubuntu.com: 80 -- Recv-keys restart # Install dockerapt-Get updateapt-Get Inst All-y lxc-docker # Alternatively, just use the curl-able install. Sh script provided at https://get.docker.io #~ "./Index.html" 19l, 584c 1, 1, all # Check that HTTPS transport is available to aptif [! -E/usr/lib/APT/methods/HTTPS]; then apt-Get update apt-Get install-y apt-transport-httpsfi # Add the repository to your apt sourcesecho Deb https://get.docker.io/ubuntu docker main>/etc/APT/sources. list. d/docker. list # then import the repository keyapt-key adv -- keyserver HKP: // keyserver.ubuntu.com: 80 -- Recv-keys restart # Install dockerapt-Get updateapt-Get Inst All-y lxc-docker # Alternatively, just use the curl-able install. Sh script provided at https://get.docker.io #~
Install docker on Ubuntu