🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[TOC] ## 安装 ### github 下载 下载 docker-machine`https://github.com/docker/machine/releases/` ### linux ``` base=https://github.com/docker/machine/releases/download/v0.16.0 \ && curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine \ && sudo mv /tmp/docker-machine /usr/local/bin/docker-machine \ && chmod +x /usr/local/bin/docker-machine ``` ### window 在 **Git BASH** 下运行 ``` base=https://github.com/docker/machine/releases/download/v0.16.0 \ && mkdir -p "$HOME/bin" \ && curl -L $base/docker-machine-Windows-x86_64.exe > "$HOME/bin/docker-machine.exe" \ && chmod +x "$HOME/bin/docker-machine.exe" ``` ### mac ``` base=https://github.com/docker/machine/releases/download/v0.16.0 \ && curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/usr/local/bin/docker-machine \ && chmod +x /usr/local/bin/docker-machine \ ``` > 查看是否成功 `docker-machine version` ### win 支持 vmware 1. 下载boot2docker.iso# 从这个地址下载: `https://github.com/boot2docker/boot2docker/releases` 放到`C:\Users\<用户名>\.docker\machine\cache\` 2. 下载 VMware Workstation 驱动 下载 `https://github.com/pecigonzalo/docker-machine-vmwareworkstation/releases/`复制到`C:\Program Files\Docker\Docker\resources\bin` 测试 ``` docker-machine create -d=vmwareworkstation demo ```