0

This question How to see the files running on my Google Cloud Platform Cloud Run service? seems to use Container Registry (gcr.io files)

How do I view the files in my image when using Artifact Registry as opposed to Container Registry?

I have run

docker run -it --entrypoint sh europe-west1-docker.pkg.dev/bb-xyz/cloud-run-source-deploy/myservice:latest

but I get the message

Unable to find image

JM Gelilio
  • 3,482
  • 1
  • 11
  • 23
atreeon
  • 21,799
  • 13
  • 85
  • 104

1 Answers1

1

You must authenticate your registry first.

As it says:

Use these commands with the Docker client to pull the image. To use these commands, your Docker client must be configured to authenticate with $REGION-docker.pkg.dev. If this is the first time that you are pulling an image from $REGION-docker.pkg.dev with your Docker client, run the following command on the machine where Docker is installed.

gcloud auth configure-docker $REGION-docker.pkg.dev

After this, you can access it like in this answer.

Svaeng
  • 66
  • 5