Docker: Install docker-machine and docker-compose
原文链接 http://www.k8s.tips/2015/11/17/docker_machine_and_compose/
注:以下为加速网络访问所做的原文缓存,经过重新格式化,可能存在格式方面的问题,或偶有遗漏信息,请以原文为准。
docker-machine
DOCKER_MACHINE=https://github.com/docker/machine/releases/download/v0.5.0/docker-machine_linux-amd64.zip
curl -L $DOCKER_MACHINE > machine.zip && \
unzip machine.zip && \
rm machine.zip && \
mv docker-machine* /usr/local/bin
docker-compose
DOCKER_COMPOSE=https://github.com/docker/compose/releases/download/1.5.1/docker-compose-`uname -s`-`uname -m`
curl -L ${DOCKER_COMPOSE} > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version