docker_practice/machine/install.md
khs1994 8666d2683f Update Docker Desktop name
Signed-off-by: khs1994 <khs1994@khs1994.com>
2019-09-01 15:03:32 +08:00

34 lines
902 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 安装
Docker Machine 可以在多种操作系统平台上安装包括 LinuxmacOS以及 Windows
### macOSWindows
`Docker Desktop for Mac/Windows` 自带 `docker-machine` 二进制包安装之后即可使用
查看版本信息
```bash
$ docker-machine -v
docker-machine version 0.16.1, build cce350d7
```
### Linux
Linux 上的也安装十分简单 [官方 GitHub Release](https://github.com/docker/machine/releases) 处直接下载编译好的二进制文件即可。
例如 Linux 64 位系统上直接下载对应的二进制包
```bash
$ sudo curl -L https://github.com/docker/machine/releases/download/v0.16.1/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.16.1, build cce350d7
```