The easiest way install docker on ubuntu 13.10

This is how you can install docker lxc inside 13.10 with no pain

copy this commands and put it into one file and set it as executed

1. Copy all this command as one file, sample : install_docker.13.10.sh


sudo apt-get -y update
sudo apt-get -y autoremove
sudo apt-get install linux-image-extra-`uname -r`
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo sed -i '/localhost/a 127.0.0.1 '"$(echo `hostname`)"'' /etc/hosts
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
sudo apt-get -y update
sudo apt-get -y install lxc-docker

2. after save it as install_docker.13.10.sh as sample, let’s make it executeable


#chmod +x install_docker.13.10.sh

3. Execute this will add 127.0.0.1 record into your /etc/hosts to prevent error when add docker.list into /etc/sources.list.d


#sh install_docker.13.10.sh

simply just comment if you found an error regarding this dummy installation scripts.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s