📜  docker 没有启动 mac - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:17.777000             🧑  作者: Mango

代码示例1
On a supported Mac, run:

brew install --cask docker
Then launch the Docker app. Click next. It will ask for privileged access. Confirm. A whale icon should appear in the top bar. Click it and wait for "Docker is running" to appear.

You should be able to run docker commands now:

docker ps
Because docker is a system-level package, you cannot install it using brew install, and must use --cask instead.

Note: This solution only works for Macs whose CPUs support virtualization, which may not include old Macs