GCLOUD -CLI干扰Podman-有解决方法吗?

发布于 2025-02-11 20:48:42 字数 478 浏览 1 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吃→可爱长大的 2025-02-18 20:48:42

查看以下文件以检查是否有任何凭据帮助者为有问题的注册表配置:

  • 〜/.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
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文