1. docker-machine 安装.
From docker 官网
curl -L https://github.com/docker/machine/releases/download/v0.13.0/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine && chmod +x /tmp/docker-machine && sudo cp /tmp/docker-machine /usr/local/bin/docker-machine
其实与docker-compose的安装类似
先下载
sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
跟改权限
chmod +x /usr/local/bin/docker-compose
然后查看版本
docker-compose --version