【发布时间】:2021-10-23 01:52:48
【问题描述】:
我正在研究 google 容器优化操作系统 (COS),试图使用 docker-compose 从 Google Container Registry 中提取图像。我使用 docker-credential-gcr 完成了身份验证。
现在
docker pull gcr.io/projectname/nextjs 有效
然而
> docker-compose pull
Pulling nextjs ... error
ERROR: for nextjs unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials.
【问题讨论】:
标签: docker docker-compose google-compute-engine google-container-registry google-container-optimized-os