这篇文章介绍一下MacOS上的Docker Desktop community手动更新的方法。
目录
- 环境说明
- Check for update
- 下载并更新
- 结果确认
- 总结
环境说明
liumiaocn:~ liumiao$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.6
BuildVersion: 19G73
liumiaocn:~ liumiao$
- docker version
liumiaocn:go liumiao$ docker version
Client: Docker Engine - Community
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:22:34 2019
OS/Arch: darwin/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.12)
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:29:19 2019
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: v1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
liumiaocn:go liumiao$
Docker Desktop community的当前版本为
Check for update
点击Docker Desktop community的Check for update菜单选项
下载并更新
然后会提示当前版本以及可更新的版本信息,比如此处提示可以安装到Docker 2.4.0版本,点击Install Update按钮便开始下载。
下载完毕后会出现如下页面点击Install and Relaunch,然后在之后的界面中会提示用户密码,然后即可完成安装
结果确认
使用Docker Desktop community所提供的菜单即可看到版本已经正常升至2.4.0.0了
- docker version
liumiaocn:~ liumiao$ docker version
Client: Docker Engine - Community
Cloud integration 0.1.18
Version: 19.03.13
API version: 1.40
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 16:58:31 2020
OS/Arch: darwin/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.13
API version: 1.40 (minimum version 1.12)
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:07:04 2020
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: v1.3.7
GitCommit: 8fba4e9a7d01810a393d5d25a3621dc101981175
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
liumiaocn:~ liumiao$
总结
Docker Desktop community 提供了联线直接更新的方式或者下载pkg安装文件的方式进行更新,直接Click即可完成。