我按照谷歌云控制台右侧的教程部署了一个 Ruby 项目,在克隆演示源代码后,尝试使用命令 gcloud app deploy --project fireflywytwyt
进行部署,但是它向我抛出以下错误(省略了不必要的日志):
...
8820c09c846d: Image already exists
64fc2a97cff9: Image already exists
43f58141118b: Image already exists
575d6bde5efe: Image already exists
272ffca85019: Image already exists
90a62e26e551: Image already exists
a51047f764d0: Image already exists
2c8496abe349: Image already exists
6e04b82f3d6e: Image already exists
latest: digest: sha256:406115ccfa93d7cef120b2683f75c9f5b3821d8a11b8afbca7781240c293313e size: 72372
DONE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [7] The user fireflywytwyt@appspot.gserviceaccount.com must have permission to read the image at us.gcr.io/fireflywytwyt/appengine/def
ault.20161124t144728:latest
请注意以下错误:
用户fireflywytwyt@appspot.gserviceaccount.com必须有权限读取us.gcr.io/fireflywytwyt/appengine/def中的图像。
看起来我的帐户无法访问Docker注册表,如何解决?
fireflywytwyt@appspot.gserviceaccount.com
添加为项目所有者
(可能是最高权限),但问题仍然存在。 - TangMonk