Questions tagged [google-container-registry]

Google Container Registry provides secure, private Docker image storage on Google Cloud Platform.

Google Container Registry (also known as https://gcr.io/ ) provides secure, private Docker image storage on Google Cloud Platform.

The Google Container Registry runs on Google Cloud Platform, so can be relied upon for consistent uptime and security. The registry can be accessed through an HTTPS endpoint, so you can pull images from any machine, whether it's a Google Compute Engine instance or your own hardware.

448 questions
86
votes
12 answers

`docker-credential-gcloud` not in system PATH

After the latest updates to gcloud and docker I'm unable to access images on my google container repository. Locally when I run: gcloud auth configure-docker as per the instructions after updating gcloud, I get the following message: WARNING:…
53
votes
5 answers

Find the list of Google Container Registry public images

Where can I find the list of GCR public images? In case of docker images, we can list it in hub.docker.com. But I couldn't find anything like that for GCR.
Sujai Sivasamy
  • 1,101
  • 3
  • 14
  • 32
38
votes
4 answers

How do I run private docker images on Google Container Engine

How do I run a docker image that I built locally on Google Container Engine?
36
votes
2 answers

How to pull Docker Hub image to Google Cloud Run?

I'm trying to pull Docker images into Google Cloud Run. I see that I would probably need to pull it first to Google Container registry, but can I somehow avoid it? Also, I'd rather have it straight from the source to have it up-to-date.
34
votes
6 answers

Access google container registry without the gcloud client

I have a CoreOS docker host that I want to start running containers on, but when trying to use the docker command to fetch the image from the google container private registry (https://cloud.google.com/tools/container-registry/), I get a 403. I did…
Andre
  • 790
  • 2
  • 9
  • 23
30
votes
3 answers

Access Google Cloud service account credentials on Container OS inside Docker Container

Using the Container Optimized OS (COS) on Google Cloud Compute, what's the best way to access the credentials of the default service account for the VM-project from within a Docker container? $ gcloud compute instances create test-instance \ …
26
votes
20 answers

Can't push image to google container registry - Caller does not have permission 'storage.buckets.get'

I am working on a bitbucket pipeline for pushing image to gc container registry. I have created a service account with Storage Admin role. (bitbucket-authorization@mgcp-xxxx.iam.gserviceaccount.com) gcloud auth activate-service-account --key-file…
25
votes
2 answers

Searching the Google Container Registry

I've been setting up my kubernetes cluster and I have been using the Google Container Registry for storing images. As a part of my setup I am building some tooling where I need to search the remote repository for images, including tags. So my…
23
votes
6 answers

Creating image pull secret for google container registry that doesn't expire?

I'm trying to get Kubernetes to download images from a Google Container Registry from another project. According to the docs you should create an image pull secret using: $ kubectl create secret docker-registry myregistrykey…
20
votes
2 answers

Google Cloud: Artifact Registry vs Container Registry

What's the difference between these two products? Artifact Registry - https://cloud.google.com/artifact-registry/ Container Registry - https://cloud.google.com/container-registry/
18
votes
10 answers

Google Container Registry access denied when pushing docker container

I try to push my docker container to the google container registry, using this tutorial, but when I run gcloud docker push b.gcr.io/my-bucket/image-name I get the error : The push refers to a repository [b.gcr.io/my-bucket/my-image] (len:…
hilnius
  • 2,165
  • 2
  • 19
  • 30
17
votes
3 answers

Kubernetes pods can't pull images from container registry (gcp)

I want to update my deployment on kubernetes with a new image which exists on 'eu.gcr.io' (same project), I have done this before. But now the pods fail to pull the image because they are not authorized to do so. This is the error that we get in the…
17
votes
1 answer

gcloud docker push hanging

When I try to push new docker images to gcr.io using gcloud docker push, it frequently makes some progress before stalling out: $ gcloud docker push gcr.io/foo-bar-1225/baz-quux:2016-03-23 The push refers to a repository…
danvk
  • 15,863
  • 5
  • 72
  • 116
16
votes
5 answers

How to remove a pushed image in Google Container Registry

Is it possible to remove a pushed image from Google Container Registry? I mean without handling the Google Cloud Storage directory directly. Thanks!
Hernan
  • 212
  • 2
  • 9
15
votes
1 answer

ImagePullSecrets GCR

I am having an issue configuring GCR with ImagePullSecrets in my deployment.yaml file. It cannot download the container due to permission Failed to pull image "us.gcr.io/optimal-jigsaw-185903/syncope-deb": rpc error: code = Unknown desc = Error…
1
2 3
29 30