docker_practice/machine/install.md

33 lines
902 B
Go
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

##
Docker Machine LinuxmacOS Windows
### macOSWindows
Docker for MacDocker for Windows `docker-machine` 使
```bash
$ docker-machine -v
docker-machine version 0.13.0, build 9ba6da9
```
### Linux
Linux [ GitHub Release](https://github.com/docker/machine/releases) 处直接下载编译好的二进制文件即可。
Linux 64
```bash
$ sudo curl -L https://github.com/docker/machine/releases/download/v0.13.0/docker-machine-`uname -s`-`uname -m` > /usr/local/bin/docker-machine
$ sudo chmod +x /usr/local/bin/docker-machine
```
```bash
$ docker-machine -v
docker-machine version 0.13.0, build 9ba6da9
```