Published on 20 Feb 2016
Just follow the instructions at Docker:
$ apt-get update
$ apt-get install apt-transport-https ca-certificates
$ apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
$ echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list
$ apt-get update
$ apt-get purge lxc-docker
$ apt-cache policy docker-engine
$ sudo apt-get install docker-engine
$ sudo service docker start
$ sudo docker run hello-world
Just follow the instructions at Docker.
$ apt-get update
$ apt-get install -y curl htop
$ curl -Ls https://get.cloud.docker.com/ | sh -s {yourKey}
{youKey} comes from Docker Cloud
See as well Docker Cloud doc.
$ vi /etc/default/docker
DOCKER_OPTS="-g /somewhere/else/docker/"
service docker stop. Verify no docker process is running ps fauxls /var/lib/docker/tar -zcC /var/lib docker > /mnt/pd0/var_lib_docker-backup-$(date +%s).tar.gz/var/lib/docker directory to your new partition: mv /var/lib/docker /mnt/pd0/dockerln -s /mnt/pd0/docker /var/lib/dockerls /var/lib/docker/ (note the trailing slash to resolve the symlink)service docker startsource: https://github.com/docker/docker/issues/3127