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
1 answer

Can build and run image locally. Cannot build and run image via Google Kubernetes Engine (GKE)

From my application's root directory, I can build an image and run it locally. When I use the image built via the kubernetes engine, it successfully builds, but the application errors. The logs above are from kubernete's dashboard, they show the…
0
votes
1 answer

Move gcloud image from container registry to compute

I've pushed a docker image to gcloud container registry. I want to create a new compute instance, in the same project, using the image in the container registry. Ideally gcloud compute images list would show images in my project's container…
jpm
  • 156
  • 1
  • 5
0
votes
2 answers

Docker google container registry

I am trying to push an image using docker - not gcloud* - to the google container registry. I have credentials and I have used the Json auth option. I log into the registry by typing the following command docker login -u _json_key -p "$(cat…
John Hogan
  • 996
  • 1
  • 13
  • 26
0
votes
1 answer

How to get image name in Google Cloud Platform Kubernetes Pod

How do you get the digest of a container image running on a pod in kubernetes? Based on the screen-shot below, I would like to be able to retrieve d976aea36eb5 from the pod (logs, YAML etc. whatever is the way to get it) What I can get from…
0
votes
1 answer

How to obtain a GCP Bearer token programatically

gcloud auth print-access-token gives me a Bearer token i can use later on. The token looks like: Authorization: Bearer ya29.AHES6ZRVmB7fkLtd1XTmq6mo0S1wqZZi3-Lh_s-6Uw7p8vtgSwg How can i obtain such a token without the use of gcloud, preferably…
0
votes
1 answer

Google Container Builder: How to install govendor dependencies during build step?

I am trying to use Google Cloud Container Builder to automate the building of my containers using GCP Build Triggers My code is in Go, and I have a vendor folder in my project root which contains all of my Go dependencies (I use govendor). However,…
0
votes
2 answers

Which ip ranges does the google container registry use for its build tools?

I'm working with some custom libraries, which are hosted on a private pypi server (running in a Google Compute Engine instance). I would like to include the libraries when deploying an app to Google App Engine, and am wondering if it's possible to…
0
votes
1 answer

How do I create a domain scoped project on google cloud

I'm trying to create a domain scoped project so that my gcr.io registries look like gcr.io/acme.com/project/image rather than gcr.io/project/image like documented in…
Calin Don
  • 865
  • 2
  • 11
  • 19
0
votes
1 answer

k8s/gke/gcr - scope an image to a namespace

I have a gke cluster with a number of different namespaces. I would like to be able to in effect namespace my images the same way my other resources are namespaced. That is, I would like pods in different namespaces to be able to reference an image…
Tom
  • 1,204
  • 2
  • 10
  • 25
0
votes
4 answers

Accessing private Google Container Registry from docker/compose container running on COS

I'm running a Container-Optimized OS VM on GCE (with Docker 17.03.2) and would like to use docker-compose to manage the containers. docker-compose isn't installed on COS, but it can be run from a container using the image docker/compose, as…
0
votes
1 answer

How to stop gcloud docker -a overwriting long-lived credentials?

We are using the Google Container Registry to store our Docker images. To authorize our build instances we place long-lived access tokens in .docker/config.json as described in the docs. This works perfectly fine until someone (i.e. some Makefile)…
tex
  • 2,051
  • 1
  • 23
  • 27
0
votes
1 answer

Implementing a CI/Deployment Pipeline for a Node app

I will shortly be in the process of rewriting a node app with the intention of implementing Continuous Integration and TDD. I also want to design and set up a deployment pipeline for development, staging, and production. Currently I'm using…
0
votes
1 answer

Unable to push to 2 different container registries with 2 different service accounts

I'm automating our build process. Before push is executed, I run the following script that logs the correct service account in. if [[ "${DEPLOY_ENV}" == "production" ]]; then gcloud auth activate-service-account --key-file…
tnine
  • 156
  • 9
0
votes
2 answers

Google Container Builder is unable to access private Github repositaries

I have two private repositaries on Github, A and B. Both are Golang projects. Project A depends on repositary B. I have added both repositaries to Google Source Code. Now in Container builder, when I try to build for project A, it is not able to…
avi
  • 9,292
  • 11
  • 47
  • 84
0
votes
1 answer

google container engine having problems pulling image from container registry

I'm trying to create a deployment on GKE (running 1.6.0) which is looking like this: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: my-api spec: replicas: 1 template: metadata: labels: app: api spec: …