GCLOUD -CLI干扰Podman-有解决方法吗?
Gcloud-CLI似乎正在干扰Podman(并且可能是Docker)
是否有任何解决方法?
#This command has nothing to do with gcloud-cli, likely gcloud is messing with environment
podman pull registry.redhat.io/rhel8/mariadb-105
Error: 1 error occurred:
* error getting credentials - err: exit status 1, out: `You do not currently have an active account selected. See https://cloud.google.com/sdk/docs/authorizing for more information.`
gcloud-cli seem to be interfering with podman (and may be docker)
Any workaround for this?
#This command has nothing to do with gcloud-cli, likely gcloud is messing with environment
podman pull registry.redhat.io/rhel8/mariadb-105
Error: 1 error occurred:
* error getting credentials - err: exit status 1, out: `You do not currently have an active account selected. See https://cloud.google.com/sdk/docs/authorizing for more information.`
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看以下文件以检查是否有任何凭据帮助者为有问题的注册表配置:
〜/.docker/config.json
〜/.config/.config/containers/auth.json
〜/.config/containers/registries.conf
Review the following files to check if there any credential helpers configured for the registries in question:
~/.docker/config.json
~/.config/containers/auth.json
~/.config/containers/registries.conf