1

I try to run my image on Cloud Run but it said:

Cloud Run message

yaml:

enter image description here

Anyway my image does exist in the Container Registry enter image description here

I try to run that container above with specific tag or Digest but it still doesn't work.

Do we have the way to solve this kind of problem?

Sophoun
  • 81
  • 4
  • How do you deploy your service? With the console? With the CLI? – guillaume blaquiere Jul 02 '21 at 12:23
  • @guillaumeblaquiere I have deployed using cloud console. – Sophoun Jul 02 '21 at 12:53
  • Very strange... Did you try with the command line? It could be a UI bug! – guillaume blaquiere Jul 02 '21 at 18:19
  • Is the Container Registry in the same Project as the Cloud Run Service or a different one? – Ben K Jul 02 '21 at 18:26
  • @BenK Container registry is in the same project as Cloud run. – Sophoun Jul 05 '21 at 02:44
  • @guillaumeblaquiere I already try using gcloud command but it still the same. – Sophoun Jul 05 '21 at 02:46
  • One thing I noted, I built that container using Jib, than run with Cloud Run and it show image not found, I've pull that image to run on local pc and my server but it still work fine. So I created new build using Dockerfile and this time it works with Cloud Run. I'm sure my Jib container doesn't have any problem, I already run it in my production environment nearly one year. – Sophoun Jul 05 '21 at 03:01
  • If you can pull the same image from GCR, the container packager tool isn't the issue (JIB or Docker). There is something between cloud run and GCR. Can you try, on GCR to add another tag on your image and use it instead of SHA? Or use the latest version explicitaly? – guillaume blaquiere Jul 05 '21 at 06:58
  • @guillaumeblaquiere Like I mentioned above, I have tried both ways using tag or specific SHA, and it still doesn't work. – Sophoun Jul 05 '21 at 08:15
  • I have found the exact issue here. I built image using Jib and set image format to OCI that is why image not found by Cloud Run. If I omit the format option, then it works fine. – Sophoun Jul 06 '21 at 12:04

0 Answers0