[Ubuntu] Instalar Docker en Ubuntu 14.04

Comandos para instalar docker (bash)

$ sudo apt-get install apt-transport-https ca-certificates $ sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D $ nano /etc/apt/sources.list.d/docker.list $ sudo nano /etc/apt/sources.list.d/docker.list $ sudo apt-get update $ sudo apt-get purge lxc-docker $ sudo apt-cache policy docker-engine $ sudo apt-get install linux-image-extra-$(uname -r) $ sudo apt-get install apparmor $ sudo apt-get install docker-engine $ sudo service docker start $ sudo usermod -aG docker miUsuario (Es necesario que cierres sesiĆ³n y vuelvas a entrar) $ docker run hello-world

Fuente