我想在macbook和M1 pro芯片上使用podman。首先,我将这个命令运行到初始的podman:
➜ retire git:(master) podman machine init
Downloading VM image: fedora-coreos-36.20220511.dev.0-qemu.aarch64.qcow2.xz: done
Extracting compressed file
Image resized.
Machine init complete
To start your machine run:
podman machine start启动VM后,然后使用此命令进行拉出,但包含一个错误:
➜ retire git:(master) podman pull registry.cn-hangzhou.aliyuncs.com/reddwarf-pro/yapi:0ac4a62af8f232cae90ac955708c23d8386b2033
Error: 1 error occurred:
* error getting credentials - err: exec: "docker-credential-gcloud": executable file not found in $PATH, out: ``在macOS中可以使用podman吗?我该怎么做才能解决这个问题?
发布于 2022-06-03 03:47:23
Podman自10月份以来一直在M1芯片上得到支持:https://podman.io/blogs/2021/10/04/m1macs.html
你得到的错误为你拼出来了- "docker-credential-gloud": executable file not found in $PATH
这表明您没有安装gcloud和docker-credential-gcloud,或者当前安装有问题。
尝试重新安装谷歌组件,如果你还没有。
另外:请参阅现有的answer here
https://stackoverflow.com/questions/72484329
复制相似问题