docker安装-macOS
-
用brew安装
brew install --cask docker -
在应用台找到并打开,然后赋予权限
-
更换国内源,找到应用图标 -> Perferences -> Docker Engine,添加如下内容
"registry-mirrors": [ "https://hub-mirror.c.163.com" ]- 然后点击
Apply&Restart - 执行
docker info,如果倒数第二行输出有上面的网址,代表成功
- 然后点击
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
用brew安装
brew install --cask docker
在应用台找到并打开,然后赋予权限
更换国内源,找到应用图标 -> Perferences -> Docker Engine,添加如下内容
"registry-mirrors": [
"https://hub-mirror.c.163.com"
]
Apply&Restartdocker info,如果倒数第二行输出有上面的网址,代表成功