【问题标题】:Authenticate to Google Container Registry with Podman使用 Podman 向 Google Container Registry 进行身份验证
【发布时间】:2020-09-08 08:57:29
【问题描述】:

Google Container Registry documentation 为使用 Docker 对其进行身份验证提供了很好的帮助。有没有办法对Podman 做同样的事情?谷歌文档提到访问令牌作为一种方法。也许这可以工作。如果有人对此有任何建议或经验,我将非常感谢您的帮助

【问题讨论】:

  • gcloud auth print-access-token | podman 登录 -u oauth2accesstoken --password-stdin XX.gcr.io。 xx.gcr.io 是主机名。例如us.gcr.iouse this doc
  • @cam 你的评论应该是一个答案!

标签: google-cloud-platform google-container-registry podman


【解决方案1】:

gcloud auth print-access-token | podman login -u oauth2accesstoken --password-stdin XX.gcr.io xx.gcr.io 是主机名。例如http://us.gcr.iouse this doc

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-20
    • 2017-03-11
    • 2020-12-27
    • 2018-10-19
    • 1970-01-01
    • 2015-03-24
    相关资源
    最近更新 更多