I’m debugging a web app based on Firebase with some Google Cloud functions.
:
[2024-04-15T05:07:43.813Z] <<< [apiv2][body] GET https://us.gcr.io/v2/***/gcf/us-central1/tags/list "errors":["code":"NAME_UNKNOWN","message":"Repository "us.gcr.io" not found"][2024-04-15T05:07:43.813Z] Failed docker command with error HTTP Error: 404, Not Found "name":"FirebaseError","children":[],"context":"body":"errors":["code":"NAME_UNKNOWN","message":"Repository "us.gcr.io" not found"],"error":"message":"Not Found","response":"statusCode":404***,"exit":1,"message":"HTTP Error: 404, Not Found","status":404***
Gemini suggested some debugging tips but I can’t get them to work either:
The error message indicates that the repository us.gcr.io was not found. This could be because the repository does not exist or because you do not have permission to access it.
To resolve this error, you can try the following:
Make sure that the repository us.gcr.io exists. You can do this by running the following command:
<code>gcloud container repositories list</code><code>gcloud container repositories list </code>gcloud container repositories list
Now distracted from the main error, when I run this command, either from the cloud shell, or from the CLI, I get this error:
gcloud container repositories list
ERROR: (gcloud.container) Invalid choice: 'repositories'.
Maybe you meant:
gcloud container clusters list
gcloud container fleet list
gcloud container hub list
gcloud container images list
gcloud container node-pools list
gcloud container operations list
gcloud container images list-gcr-usage
gcloud container images list-tags
gcloud container subnets list-usable
gcloud container attached clusters list
To search the help text of gcloud commands, run:
gcloud help -- SEARCH_TERMS
gcloud is up to date. What’s causing all of this?
gcloud --version
Google Cloud SDK 474.0.0
bq 2.1.4
core 2024.04.26
gcloud-crc32c 1.0.0
gsutil 5.27
Sasan Daneshvar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.