How to install docker on ubuntu 12.04

Docker Logo

Docker has rapidly become the standard management tool and image format for containers. A key feature of Docker not present in most other container tools is layered filesystem images, usually powered by AUFS (Another UnionFS). AUFS provides a layered stack of filesystems and allows reuse of these layers between containers reducing space usage and simplifying filesystem management.

A single OS image can be used as a basis for many containers while allowing each container to have its own overlay of modified files (e.g., app binaries and configuration files). Docker container images require less disk space and I/O than equivalent VM disk images. This leads to faster deployment in the cloud since images usually have to be copied over the network to local disk before the VM or container can start.

In this article I will show you how to install Docker on ubuntu machine. The Operating Systems that I use is  ubuntu 12.04 with kernel version 3.13.0-32 12:04 on VPS machines from digitalocean.com. Let start.


1. First step is Add  Docker repository to the source list :
root@Host:~# echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list
2. Then import Repository key:
root@Host:~# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
3. Update repository then begin installing Docker with the command :
root@Host:~# apt-get update
root@Host:~# apt-get install -y lxc-docker
The command above will install the newest Docker version. To see Docker version has been installed use the following command

root@Host:~# docker version

Thus how to install Docker on ubuntu 12:04 hopefully useful.
Title : How to install docker on ubuntu 12.04
Description : Docker Logo Docker has rapidly become the standard management tool and image format for containers. A key feature of Docker not present...

0 Response to "How to install docker on ubuntu 12.04"

Post a Comment