C:UserschrisAppDataLocalGoogleCloud SDK>gcloud auth login
Your browser has been opened to visit:
https://accounts.google.com/o/oauth2/auth ---
You are now logged in as [chriskwon7007@gmail.com].
Your current project is [nodejs-301100]. You can change this setting by running:
$ gcloud config set project PROJECT_ID
C:UserschrisAppDataLocalGoogleCloud SDK>gcloud auth configure-docker
WARNING: `docker` not in system PATH.
`docker` and `docker-credential-gcloud` need to be in the same PATH in order to work correctly
together.
gcloud's Docker credential helper can be configured but it will not work until this is corrected.
WARNING: Your config file at [C:Userschris.dockerconfig.json] contains these credential helper entries:
{
"credHelpers": {
"gcr.io": "gcloud",
"us.gcr.io": "gcloud",
"eu.gcr.io": "gcloud",
"asia.gcr.io": "gcloud",
"staging-k8s.gcr.io": "gcloud",
"marketplace.gcr.io": "gcloud"
}
}
Adding credentials for all GCR repositories.
WARNING: A long list of credential helpers may cause delays running 'docker build'. We recommend passing the registry name to configure only the registry you are using.
gcloud credential helpers already registered correctly.
C:UserschrisAppDataLocalGoogleCloud SDK>docker pull asia.gcr.io/nodejs-301100/appengine/default.20210108t204554:latest
'docker' is not recognized as an internal or external command,
operable program or batch file.
我执行了' docker pull ';命令从Gcp容器注册表。但Shell出现"命令未找到";错误。
我是如何被Google云支持引导的
如何运行该命令而不出错?
我想你的电脑/系统没有安装docker。请先在windows上安装docker。或者使用google cloud shell来运行命令。