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

GCR very slow in pulling docker images

I have a bunch of images stored in GCR and deployed to a k8s cluster via helm charts. When i initiated a deployments the pod when into a failure saying imagepullbackoff. While the image was still there in GCR and is up and running in local. The k8s…
0
votes
1 answer

how to assign "container registry" permissions to virtual machine in Google Cloud

I'm creating a virtual machine in Google Cloud with full access scopes When I connect to the virtual machine by SSH and try to pull a docker image from Container registry, it throws permissions error: So I wonder how do I give permissions for my…
0
votes
1 answer

Why does the k8s.gcr.io/kube-proxy Docker image 'work' on multiple architectures?

Running docker run -it -v $PWD:/tmp k8s.gcr.io/kube-proxy:v1.15.1 cp /usr/local/bin/kube-proxy /tmp file kube-proxy gives a different result depending on which architecture I am on e.g. on CoreOS Container Linux by CoreOS stable…
dippynark
  • 2,743
  • 20
  • 58
0
votes
2 answers

How to authorize to GCR using NodeJS

I'm trying to use Docker registry V2 API with Google Container Registry, specifically this endpoint: curl -I \ -H "Authorization: Bearer $(gcloud auth print-access-token)" \ https://gcr.io/v2/$PROJECT/hello/blobs/$digest But I'd like to do it…
wolf
  • 127
  • 1
  • 10
0
votes
1 answer

Unable to pull images from GCR in k8s/minikube

When my pods start, they fail with Failed to pull image "gcr.io/myproject/backend:staging": rpc error: code = Unknown desc = Error response from daemon: pull access denied for gcr.io/myproject/backend, repository does not exist or may require…
Ben
  • 4,980
  • 3
  • 43
  • 84
0
votes
2 answers

How to inlcude Container Registry vulnerability scans in the CI/CD script using Cloud Build on GCP

Is there a way to add the Container Registry vulnerability scans as a step in the .yaml script doing the CI/CD pipeline using Cloud Build. The idea will be to not deploy a image if the severity is critical or hight. Right now the scan is done on…
0
votes
1 answer

when run docker, error occurred (npm ERR! path /package.json)

when docker run (npm ERR! path /package.json) here is my Dockerfile FROM node:8 WORKDIR /app ENV NODE_ENV development EXPOSE 3000 CMD ["npm", "start"] app Dockerfile env.sh export-doc.sh mongo README.md redis /app images log node_modules…
0
votes
2 answers

How to stop service account credential printing on Jenkins console?

I have Jenkins server which builds project, build docker image and push it to Google Container Registry. I am using service account to login to GCR using command docker login -u _json_key -p "$(cat ${service-account.json})" https://gcr.io as stated…
Nirav
  • 602
  • 1
  • 10
  • 28
0
votes
1 answer

Nomad failing to pull from GCP container registery due to docker auth

This is my server config: client { enabled = true servers = ["127.0.0.1:4647"] } I get an error of us.gcr.io/PROJECTID/IMAGE/NAME:latest: API error (404): {"message":"pull access denied for us.gcr.io/PROJECTID/IMAGE/NAME, repository does…
Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286
0
votes
1 answer

which GCP Compute Engine instance to use to build Docker image?

which GCP Compute Engine instance Data Scientist use to build Docker images and push them on GCP Container Registry ? I am not allowed to have Docker installed on my Laptop I cannot build it on CloudShell because my image is too big (>5 GB) I can…
0
votes
1 answer

How to call Docker and Push Images to GCR from Go in Google Cloud Builder

I am hoping to transition to Google Cloud Builder for building my project. The project contains numerous Docker images that I want built and pushed to Google Container Registry. I have a Cobra CLI command that works great on Travis CI that…
0
votes
0 answers

How to use private registry provider, Service Account - from Kubernertes deployments

Update I suspect this to be a google issue, I have created a new more clean question here. Update: yes this is different than the suggested "This question may already have an answer here:", as this is about a "Service Account" - not a "User…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
0
votes
0 answers

Unable to push docker image to GCP registry : denied: Token exchange failed for project Access denied

While trying to push a docker image on Google Cloud Registry using Google cloud cli, i am getting an error : denied: Token exchange failed for project . Access denied. I have followed the below steps : Installed Google cloud sdk shell Downloaded a…
0
votes
1 answer

Can Google Container Registry (gcr) support Docker Image Manifest V 2, Schema 1?

From https://cloud.google.com/container-registry/docs/image-formats, I see gcr supports Docker Image Manifest V 2, Schema 1. However when I try to get the schema 1 manifest for an image (gcr.io/google-containers/busybox) via curl, it…
Eric
  • 688
  • 1
  • 6
  • 17
0
votes
1 answer

Why can't my kubernetes cluster in GKE pull from gcr.io?

As part of my deployment process, I create a cluster, I log in to gcr.io, and I publish images there. My pods fail to deploy because the images used by the containers cannot be accessed. They are definitely there. What's confusing me is, what…
Andy
  • 3,228
  • 8
  • 40
  • 65