Reputation: 2250
I've been trying to push my docker image to Google Container Registry and it is always getting stucked.
gcloud docker push gcr.io/projectID/ImageName
Authentication is OK but it is stucked always
6f9c01afe229: Pushing [> ] 524.3 kB/62.14 MB
It is not a connection or network problem as I've tried from different networks.
As en alternative I am pushing to a Google Storage bucket and it is working fine:
gcloud docker push b.gcr.io/your-bucket/ImageName
In any case I'd like to use Google Container Registry so please if someone experienced the same issue please share.
Upvotes: 1
Views: 128
Reputation: 207
Please try just gcr.io.
Generally, projectID is used with gcr.io and bucketName is used with b.gcr.io.
This link has more detailed information about pushing image to gcr: https://cloud.google.com/container-registry/docs/pushing
Upvotes: 1