无意中发现Homebrew现在已经支持Docker Desktop for Mac了,因此特意把原来通过 https://docs.docker.com/docker-for-mac/install/安装的Docker App给卸载了,重新用Homebrew安装了一遍(我是多爱包管理器啊~_~)。
首先当然是search
包
$ brew search docker
==> Formulae
docker docker-machine-driver-hyperkit
docker-clean docker-machine-driver-vmware
docker-cloud docker-machine-driver-vultr
docker-completion docker-machine-driver-xhyve
docker-compose docker-machine-nfs
docker-compose-completion docker-machine-parallels
docker-credential-helper docker-squash
docker-credential-helper-ecr docker-swarm
docker-gen docker2aci
docker-ls dockerize
docker-machine lazydocker
docker-machine-completion
==> Casks
docker homebrew/cask-versions/docker-edge
docker-toolbox
发现有两个docker包,分别用info
看下详情
$ brew info docker
docker: stable 19.03.1 (bottled)
Pack, ship and run any application as a lightweight container
https://www.docker.com/
Not installed
From: https://mirrors.ustc.edu.cn/homebrew-core.git/Formula/docker.rb
==> Dependencies
Build: go ✘
==> Analytics
install: 37,978 (30 days), 102,766 (90 days), 391,771 (365 days)
install_on_request: 31,071 (30 days), 86,525 (90 days), 334,130 (365 days)
build_error: 0 (30 days)
$ brew cask info docker
docker: 2.1.0.1,37199 (auto_updates)
https://www.docker.com/community-edition
Not installed
From: https://mirrors.ustc.edu.cn/homebrew-cask.git
==> Names
Docker Community Edition
Docker CE
==> Artifacts
Docker.app (App)
从详情中可以看出,cask
下的才是Docker Desktop for Mac
,core
下的是docker engine
。
$ brew cask install docker
==> Satisfying dependencies
==> Downloading https://download.docker.com/mac/stable/37199/Docker.dmg
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'docker'.
==> Installing Cask docker
==> Moving App 'Docker.app' to '/Applications/Docker.app'.
相关文章
- Homebrew 安装 Docker Desktop for Mac
- 在Mac OS上安装Vagrant和Docker的教程
- 在mac上安装Docker
- Docker Desktop for Windows 安装步骤
- Mac OS X下HomeBrew安装卸载
- mac环境下使用docker安装nginx
- Mac OS X Yosemite 10.10.5使用Toolbox安装Docker
- 云原生架构(二)环境搭建(Mac上安装Docker+Kubernetes+Istio一条龙) 云原生架构(一)原理概览 云原生架构(二)环境搭建
- Mac下Homebrew安装的软件放在什么地方
- mac远程桌面Microsoft Remote Desktop for Mac的安装与使用