安裝Docker@Debian

 $ apt-get purge lxc-docker*
 $ apt-get purge docker.io*
 $ apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
deb https://apt.dockerproject.org/repo debian-jessie main

or use non-https path

deb http://apt.dockerproject.org/repo debian-jessie main
 $ sudo apt-get update
 $ sudo apt-cache policy docker-engine

Start install

 $ sudo apt-get install docker-engine
 $ sudo service docker start

Install docker-compose

curl -L https://github.com/docker/compose/releases/download/1.5.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

Update version

chmod +x /usr/local/bin/docker-compose

Install docker-machine

curl -L https://github.com/docker/machine/releases/download/v0.6.0/docker-machine-`uname -s`-`uname -m` > /usr/local/bin/docker-machine && \
chmod +x /usr/local/bin/docker-machine

Install docker-compose

curl -L https://github.com/docker/compose/releases/download/1.6.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

or

pip install docker-compose

Reference

results matching ""

    No results matching ""