docker-machine 远程安装docker

base=https://github.com/docker/machine/releases/download/v0.14.0 &&

  curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&

  sudo install /tmp/docker-machine /usr/local/bin/docker-machine

创建免密钥登陆

Ssh-keygen

Ssh-copy-id root@加IP地址

docker-machine create --driver generic --generic-ip-address=192.168.43.85  host1

原文地址:https://www.cnblogs.com/guarderming/p/9455792.html