Skip to content

Instantly share code, notes, and snippets.

@ochinchina
Created September 6, 2015 08:56
Show Gist options
  • Save ochinchina/b8274e051e375fe9c530 to your computer and use it in GitHub Desktop.
Save ochinchina/b8274e051e375fe9c530 to your computer and use it in GitHub Desktop.
install the docker 1.9-dev to ubuntu 14.04

###add patch

get the script from https://get.docker.com/ubuntu/, the script is:

# Check that HTTPS transport is available to APT
if [ ! -e /usr/lib/apt/methods/https ]; then
	apt-get update
	apt-get install -y apt-transport-https
fi

# Add the repository to your APT sources
echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list

# Then import the repository key
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9

# Install docker
apt-get update
apt-get install -y lxc-docker

#
# Alternatively, just use the curl-able install.sh script provided at https://get.docker.com
#

then run this script

###get the docker 1.9 and start

start the docker like:

$ sudo ./docker daemon -H unix:///var/run/docker.sock
@EliaMelfior
Copy link

To make it work in Lubuntu 15.1 i ran the script, but the command bellow to start the docker didn't work, so i had to type this:

systemctl unmask docker.service
systemctl unmask docker.socket
systemctl start docker.service

As seen here:
https://groups.google.com/d/msg/docker-user/3Sou7Umo0SA/wrjojGt3YdgJ

@rudygt
Copy link

rudygt commented Nov 28, 2015

Thank you both!, I can confirm that the actions EliaMelfior describe are also required on Lubuntu 15.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment