Heads up! This post was written 11 years ago. Some information might be outdated or may have changed since then.
sudo apt-get update
&& apt-get install docker.io After that we can just pull some image from repo and play with it. For example
docker pull ubuntu or if you want only last ubuntu version docker pull ubuntu:14.04 We can check downloaded images with docker images Result will be like: root@atom:~# docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
ubuntu 14.04 2d24f826cb16 3 days ago 188.3 MB And after that we can create some ubuntu container with docker run -i -t ubuntu /bin/bash