Install Docker on Ubuntu 14.04 LTS
First update your packages:
> apt-get update
@Deprecated
Install docker-io package:
>
apt-get -y install docker.io
>
ln -sf /usr/bin/docker.io /usr/local/bin/docker
Configure the Docker service to run when the OS boots:
> update-rc.d docker.io defaults
You're done !
You can alternativly use Vagrant Docker provisionner.
Now you can install Docker-compose
> sudo apt-get -y install python-pip
> sudo pip install docker-compose
Remove old containers:
> docker ps -a | grep 'weeks ago' | awk '{print $1}' \
| xargs --no-run-if-empty docker rm
Add an insecure docker registry:
add the following line to /etc/default/docker:
DOCKER_OPTS="--insecure-registry dregistry.myinsecreg.com"