網頁

2023/1/11

Mac Homebrew安裝Docker Desktop 2023

Mac用Homebrew安裝Docker Desktop。

安裝環境

  • Intel Core i5 CPU
  • macOS Ventura


安裝

在終端機輸入brew install --cask docker即可安裝Docker Desktop。

% brew install --cask docker
==> Downloading https://desktop.docker.com/mac/main/amd64/93002/Docker.dmg
######################################################################## 100.0%
==> Installing Cask docker
==> Moving App 'Docker.app' to '/Applications/Docker.app'
==> Linking Binary 'docker-compose.bash-completion' to '/usr/local/etc/bash_completion.d/docker-compose'
==> Linking Binary 'docker.zsh-completion' to '/usr/local/share/zsh/site-functions/_docker'
==> Linking Binary 'docker.fish-completion' to '/usr/local/share/fish/vendor_completions.d/docker.fish'
==> Linking Binary 'docker-compose.fish-completion' to '/usr/local/share/fish/vendor_completions.d/docker-compose.fish'
==> Linking Binary 'docker-compose.zsh-completion' to '/usr/local/share/zsh/site-functions/_docker_compose'
==> Linking Binary 'docker.bash-completion' to '/usr/local/etc/bash_completion.d/docker'
🍺  docker was successfully installed!

執行完成後便可在macOS的啟動台看到安裝的Docker Desktop圖示,點選圖示即可啟動docker服務。

在終端機輸入docker --version檢視版本資訊。

% docker --version
Docker version 20.10.21, build baeda1f

沒有留言:

張貼留言