我可以将云 运行 与 self-hosted/private docker 映像注册表一起使用吗?
Can I use cloud run with self-hosted/private docker image registry?
当我使用自托管(私有)Docker 映像注册表进行部署时,出现此错误:
This service will require authentication to be invoked.
Deploying container to Cloud Run service [serverless-functions-go] in project [PROJECT_ID] region [us-central1]
X Deploying new service...
. Creating Revision...
. Routing traffic...
Deployment failed
ERROR: (gcloud.beta.run.deploy) Invalid image provided in the revision template. Expected [region.]gcr.io/repo-path[:tag or @digest], obtained dtr.artifacts.xxx.com/xxxxx/xxxx/serverless-functions-go:latest
在从我的私人 docker 图像注册表中提取图像之前,我需要使用如下命令:
docker login [options]
我该如何解决这个问题?
Can I use cloud run with private docker container registry?
不,目前没有。请参阅云 运行 文档中的 "Images you can deploy"。
当我使用自托管(私有)Docker 映像注册表进行部署时,出现此错误:
This service will require authentication to be invoked.
Deploying container to Cloud Run service [serverless-functions-go] in project [PROJECT_ID] region [us-central1]
X Deploying new service...
. Creating Revision...
. Routing traffic...
Deployment failed
ERROR: (gcloud.beta.run.deploy) Invalid image provided in the revision template. Expected [region.]gcr.io/repo-path[:tag or @digest], obtained dtr.artifacts.xxx.com/xxxxx/xxxx/serverless-functions-go:latest
在从我的私人 docker 图像注册表中提取图像之前,我需要使用如下命令:
docker login [options]
我该如何解决这个问题?
Can I use cloud run with private docker container registry?
不,目前没有。请参阅云 运行 文档中的 "Images you can deploy"。