本想在mac上安装minikube学习一下的,通过brew安装后发现报下面的问题
1、运行minikube的提示
MacBook-Pro ~ % minikube start
???? Darwin 14.4.1 (arm64) 上的 minikube v1.34.0
???? 无法选择默认驱动程序。以下是按优先顺序考虑的内容:
▪ docker: Not healthy: "docker version --format {{.Server.Os}}-{{.Server.Version}}:{{.Server.Platform.Name}}" exit status 1: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
▪ docker:建议:Start the Docker service <https://minikube.sigs.k8s.io/docs/drivers/docker/>
???? 或者你也可以安装以下驱动程序:
▪ hyperkit: Not installed: exec: "hyperkit": executable file not found in $PATH
▪ qemu2: Not installed: exec: "qemu-system-aarch64": executable file not found in $PATH
▪ parallels: Not installed: exec: "prlctl": executable file not found in $PATH
▪ virtualbox: Not installed: unable to find VBoxManage in $PATH
▪ vfkit: Not installed: exec: "vfkit": executable file not found in $PATH
▪ podman: Not installed: exec: "podman": executable file not found in $PATH
❌ 因 DRV_DOCKER_NOT_RUNNING 错误而退出:找到 Docker,但 Docker 服务没有运行。尝试重新启动 Docker 服务。
2、查看docker版本时提示
shenxiang@chenxiangdeMacBook-Pro ~ % docker version
Client: Docker Engine - Community
Version: 27.3.1
API version: 1.47
Go version: go1.23.1
Git commit: ce1223035a
Built: Fri Sep 20 11:01:47 2024
OS/Arch: darwin/arm64
Context: default
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
3、在启动台中启动docker时报
Incompatible CPU detected
We are sorry, but your hardware is incompatible with Docker Desktop.
Docker requires a processor with virtualization capabilities and hypervisor support.
To learn more about this issue see:
https://docs.docker.com/desktop/mac/troubleshoot/#incompatible-cpu-detected
required compatibility check: Incompatible CPU detected
看来想在Mac M3上学习k8s的,看来目前无解,不知大家是否有遇到,有什么其他办法吗?