如何在Mac上升级Docker? [英] How can I upgrade Docker on a Mac?
本文介绍了如何在Mac上升级Docker?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试过docker-machine upgrade,但是做了一些工作,但似乎没有最新的CLI。
I tried just 'docker-machine upgrade' and that did some work but I don't seem to have the latest CLI.
如果我做'docker版本'我得到:
If I do 'docker version' I get:
Client:
Version: 1.8.2
API version: 1.20
Go version: go1.4.2
Git commit: 0a8c2e3
Built: Thu Sep 10 19:10:10 UTC 2015
OS/Arch: darwin/amd64
Server:
Version: 1.11.2
API version: 1.23
Go version: go1.5.4
Git commit: b9f10c9
Built: 2016-06-01T21:20:08.558909126+00:00
OS/Arch: linux/amd64
一些新的命令,我没有看到,所以我怀疑我没有最新的软件。
I understand there are some new commands I'm not seeing so I suspect I don't have the latest software.
推荐答案
既然你在mac ,您应该安装自制软件,然后从中可以使用命令 brew install docker安装和升级docker
和 brew upgrade
。 Homebrew是mac的软件包管理器,可以轻松安装这些应用程序。
Since you are on mac, you should install homebrew and from there you can install and upgrade docker with the command brew install docker
and brew upgrade
. Homebrew is a package manager for mac that makes installation of such applications easy.
这篇关于如何在Mac上升级Docker?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文