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

How to use an image from container registry in different project?

I have two projects in Google Cloud. On the first project I have some images in the container registry and i'm using it in the gke. When I trie to create a container in the second project, it gives me a error: Error: Status 403 trying to pull…
8
votes
4 answers

How do I test if a specific tag of a docker image already exists in gcr.io?

I've noticed with gcr.io that when I push a docker image with a specific tag: gcr.io/myproject/myimage:mytag If that image/tag combo already exists, it seems to untag the original image, upload the new one, and apply the tag to the new one. This is…
Andy
  • 3,228
  • 8
  • 40
  • 65
8
votes
5 answers

Unable to pull image from private GCR from Container Optimized Compute Engine

Can't get what I'm doing wrong... Performed next steps on fresh compute engine instance based on Container Optimized OS: docker-credential-gcr configure-docker sudo docker run --detach --name=echo --net=esp_net…
8
votes
0 answers

Using Container Builder Build Triggers in repository with multiple projects

I have a single Cloud Source Repository with multiple projects. I am able to create a cloudbuild.yaml file in the repo root that builds all projects. However, I don't want to have a build trigger that rebuilds all of the projects since most…
Josh
  • 81
  • 1
8
votes
2 answers

Fetching Tags in Google Cloud Builder

In the newly created google container builder I am unable to fetch git tags during a build. During the build process the default cloning does not seem to fetch git tags. I added a custom build process which calls git fetch --tags but this results…
quasiben
  • 1,444
  • 1
  • 11
  • 19
7
votes
1 answer

Can I configure Google Container Registry (GCR) to allow pushing new images but not mutating tags?

I'd like to configure our company container registry on GCP to: Allow staff to push new images with new tags Not allow existing tags to be replaced The goal is to avoid using latest tag - or any other mutable tag - and consistently use new,…
James Healy
  • 14,557
  • 4
  • 33
  • 43
7
votes
1 answer

What are the minimum permissions/role for a service account required to read/write to Google Container Registry?

I am trying to create a service role for a drone instance which builds and pushed a docker image to Google Container Registry. It works with the role project>owner (presumably project>editor would work too). I have not been able to find a way to…
Stan Bondi
  • 4,118
  • 3
  • 24
  • 35
7
votes
2 answers

How to ask Kubernetes nicely to retrieve newer image?

I've a new Docker image and I'd like ideally to perform a smooth upgrade to it and either forget the previous deployed version or keep only the previous version but not all previously deployed versions. Kubernetes Pods will retrieve upon being…
Wernight
  • 36,122
  • 25
  • 118
  • 131
7
votes
2 answers

gcloud docker push 403 Forbidden

I am trying to push a docker image to eu.gcr.io and I am getting 403 Forbidden gcloud docker push eu.gcr.io//:latest The push refers to a repository…
oluies
  • 17,694
  • 14
  • 74
  • 117
7
votes
1 answer

How can I find out how much space is used by my container images from the Google Container Registry

I have pushed container images using gcloud docker push to the Google Container Registry. Two questions: How do I see how much space all my images use? (I can see individual images but I want a total in order not to navigate to all and make a sum)
Gabriel Petrovay
  • 20,476
  • 22
  • 97
  • 168
6
votes
5 answers

Airflow pull docker image from private google container repository

I am using the https://github.com/puckel/docker-airflow image to run Airflow. I had to add pip install docker in order for it to support DockerOperator. Everything seems ok, but I can't figure out how to pull an image from a private google docker…
Tomaž Bratanič
  • 6,319
  • 2
  • 18
  • 31
6
votes
2 answers

Unable to Push to Google Container Registry (access denied)

When I tried to push a container image to the Container Registry, it gave me the following error, denied: Token exchange failed for project 'my-proj-123'. Caller does not have permission 'storage.buckets.create'. To configure permissions, follow…
6
votes
3 answers

Does Google Container Builder support building Pull Requests

Google Container Builder documentation says it can build a Branch or a Tag. What about building a Pull Request? This functionality is critical prior to merging code so main development branch is kept clean as much as possible. On this page there is…
rvora
  • 91
  • 4
6
votes
1 answer

Why is my Container Builder build failing with "failed to find one or more images after execution of build steps"

I don't understand what this error message means. It happens at the end of my build, when the build is complete and the image is being tagged. Here's the tail end of the log: Step 17/18 : WORKDIR /var/www ---> 0cb8de2acd8f Removing intermediate…
6
votes
0 answers

GCP Container Builder unable to evaluate symlinks

Is Container Builder not able to handle Git Repos with symlinks? Step #1 - "device-registry-php": unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /workspace/services/device-registry/build: no such file or directory
Simon I
  • 3,406
  • 4
  • 26
  • 32
1 2
3
29 30