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
4
votes
2 answers

Migrate "App Engine Standard" away from"Container Registry?" (for "Artifact Registry")

An email just went out about how this migration needs to happen, but it's not entirely clear how this affects App Engine Standard. I have a couple of small things running on that, and the only thing I see in the Container Registry is the…
4
votes
1 answer

GKE can't pull image from GCR

This one is a real head-scratcher, because everything had worked fine for years until yesterday. I have a google cloud account and the billing is set up correctly. I have private images in my GCR registry which I can 'docker pull' and 'docker push'…
4
votes
1 answer

GCP VM runs container image even after the image was deleted from container registry

I was running a container on GCP VM, and it ran the latest image without an issue. However recently I found the container it ran was not the latest anymore, even the only image in the registry is the latest version I pushed there. I tested it by…
4
votes
3 answers

Tagging and pushing Docker image changes digest

Pulling, tagging, and then pushing a Docker image we produce in a Github actions flow is causing a new image with a new digest to be pushed, rather than simply tagging the existing image. First, we build the image using the newish v2 of the Docker…
4
votes
0 answers

Docker pull: `remove /.pivot_root347438920: device or resource busy`

I'm trying to pull an image off GCR using docker, using: docker pull eu.gcr.io//: However I keep getting the error: failed to register layer: ApplyLayer exit status 1 stdout: stderr: Error cleaning up after pivot: remove…
4
votes
3 answers

unable to npm publish new package to artifact registry even though my logged in user as Owner access

My organization is part of the Artifact Registry beta, and I'm proceeding through the quickstart fine, but when I attempt to publish my first package I'm getting: npm ERR! code E403 npm ERR! 403 403 Forbidden - PUT…
4
votes
0 answers

"gcloud auth print-access-token" to get refresh token runs slow on my mac os-x

For our project, we use google cloud container registry (gcr.io) to push all our container images. We have our build system that tries to pull the base images from the container registry. To pull the container image from the registry we do that…
4
votes
0 answers

GCE: 'Failed to register layer'

I'm attempting to pull updated containers from GCR for a Compute Engine instance. When doing so, I use the gcloud pull command to cause the instance to pull the latest from Google's Container Registry. I can see the pull initiate on the instance -…
4
votes
1 answer

Google Cloud Run / Mounting Google Storage Bucket

From a Google Cloud Run docker registry associated container, when I try to mount a Google Storage Bucket, the following is what I receive. Obviously without having a privileged docker execution this is expected, and as far as I have investigated,…
4
votes
1 answer

Error on pushing docker image to GCR - Pushing to root-level images is disabled

My objective for one of my work items is to build a docker image (successfully done), and push that image to GCR (Google Container Repository). I followed various articles on google documentation but it didn't work for me. Please refer to the below…
Sumit Arora
  • 5,051
  • 7
  • 37
  • 57
4
votes
1 answer

GCP Instance Template with Container undefined

I have a nasty problem where any new instance templates I attempt to create will not register my Container Registry containers, no matter what I do. My existing container images work, but any new attempts to push new containers (either to their own…
4
votes
4 answers

How to list the published container images in the Google Container Registry in a CLI in image size order

Using a CLI, I want to list the images in each repository in a Google Container Registry project but with the following conditions: Lists the images with the latest tag only Lists the human-readable size of the images Lists the name of the…
4
votes
2 answers

How to pull docker images hosted on Google Container Registry via Kubernetes (kubernetes included on docker for desktop)

I am having trouble pulling images from GCR ( pulled by my deployments ) I got ImagePullBackOff error. I have followed this tutorial already, step by step. https://container-solutions.com/using-google-container-registry-with-kubernetes/ However it…
Jplus2
  • 2,216
  • 2
  • 28
  • 49
4
votes
3 answers

What is the advantage of in each deploy, building a new docker image containing the application instead of just updating the application?

I am migrating an application in Nodejs to kubernetes in GCP. In CI tutorials, I see the updated application being copied to a new docker image and sent to GCR. The process of uploading an image is slow compared to updating only the code. So what…
4
votes
6 answers

GKE - ErrImagePull pulling from Google Container Registry

I have a Google Kubernetes Engine cluster which until recently was happily pulling private container images from a Google Container Registry bucket. I haven't changed anything, but now when I update my Kubernetes Deployments, it's unable to launch…