3

推送到“gcr.io”或“us.gcr.io”时遇到问题:

[]# gcloud docker --authorize only
Short-lived access for ['gcr.io', 'us.gcr.io', 'eu.gcr.io', 'asia.gcr.io', 'b.gcr.io', 'bucket.gcr.io', 'appengine.gcr.io'] configured.

[]# docker push gcr.io/tre-dock/pytest
e817ce2379ed: Retrying in 1 seconds
c543d14fcca9: Retrying in 1 seconds
a147e49918ce: Retrying in 3 seconds
063ca6c7c6e9: Retrying in 5 seconds
8f045733649f: Retrying in 7 seconds
unknown: Bad Request.

然而,当我尝试推送到“b.gcr.io”时 - 一切似乎都有效。

我想念什么?

环境:

[]# gcloud --version
Google Cloud SDK 101.0.0

alpha 2016.01.12
beta 2016.01.12
bq 2.0.24
bq-nix 2.0.18
core 2016.03.11
core-nix 2016.02.05
gcloud
gsutil 4.17
gsutil-nix 4.15
kubectl
kubectl-darwin-x86_64 1.1.7
4

1 回答 1

10

问题是标签必须包含项目名称:

gcr.io/project_name/tre-dock/pytest
于 2016-03-20T05:06:03.003 回答