mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-26 15:06:18 +00:00
[Machine] Update to v0.16.1
Signed-off-by: khs1994 <khs1994@khs1994.com>
This commit is contained in:
parent
7ec38273bb
commit
84c2183cc8
@ -4,13 +4,13 @@ Docker Machine 可以在多种操作系统平台上安装,包括 Linux、macOS
|
|||||||
|
|
||||||
### macOS、Windows
|
### macOS、Windows
|
||||||
|
|
||||||
Docker for Mac、Docker for Windows 自带 `docker-machine` 二进制包,安装之后即可使用。
|
`Docker Desktop` 自带 `docker-machine` 二进制包,安装之后即可使用。
|
||||||
|
|
||||||
查看版本信息。
|
查看版本信息。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker-machine -v
|
$ docker-machine -v
|
||||||
docker-machine version 0.13.0, build 9ba6da9
|
docker-machine version 0.16.1, build cce350d7
|
||||||
```
|
```
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
@ -20,7 +20,8 @@ docker-machine version 0.13.0, build 9ba6da9
|
|||||||
例如,在 Linux 64 位系统上直接下载对应的二进制包。
|
例如,在 Linux 64 位系统上直接下载对应的二进制包。
|
||||||
|
|
||||||
```bash
|
```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 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
|
$ sudo chmod +x /usr/local/bin/docker-machine
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -28,5 +29,5 @@ $ sudo chmod +x /usr/local/bin/docker-machine
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker-machine -v
|
$ docker-machine -v
|
||||||
docker-machine version 0.13.0, build 9ba6da9
|
docker-machine version 0.16.1, build cce350d7
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user