由于 docker 身份验证,Nomad 无法从 GCP 容器注册表中拉取

Nomad failing to pull from GCP container registery due to docker auth

这是我的服务器配置:

client {
    enabled = true
    servers = ["127.0.0.1:4647"]

}

我收到 us.gcr.io/PROJECTID/IMAGE/NAME:latest: API error (404): {"message":"pull access denied for us.gcr.io/PROJECTID/IMAGE/NAME, repository does not exist or may require 'docker login'"}

的错误

我正在尝试从 google 云容器注册表中提取图像。

如何指示 nomad 通过 gcloud 使用 docker 身份验证?

gcloud auth configure-docker

和服务器配置:

client {
    enabled = true
    servers = ["127.0.0.1:4647"]

  options   = {
    "docker.auth.helper"     = "gcloud"
  }
}

当我需要其他 docker 身份验证助手时,我不知道它是如何工作的...但是哦好吧