[Hello World]: Prefix 'docker push' with gcloud command
In order to push to the Google Container Registry the `glcoud` command should be used as per https://cloud.google.com/container-registry/docs/#pushing_to_the_registry
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ $ docker stop 2c66d0efcbd4
|
|||||||
Now that the image works as intended and is all tagged with your `PROJECT_ID`, we can push it to the [Google Container Registry](https://cloud.google.com/tools/container-registry/), a private repository for your Docker images accessible from every Google Cloud project (but also from outside Google Cloud Platform) :
|
Now that the image works as intended and is all tagged with your `PROJECT_ID`, we can push it to the [Google Container Registry](https://cloud.google.com/tools/container-registry/), a private repository for your Docker images accessible from every Google Cloud project (but also from outside Google Cloud Platform) :
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker push gcr.io/PROJECT_ID/hello-node:v1
|
gcloud docker push gcr.io/PROJECT_ID/hello-node:v1
|
||||||
```
|
```
|
||||||
|
|
||||||
If all goes well, you should be able to see the container image listed in the console: *Compute > Container Engine > Container Registry*. We now have a project-wide Docker image available which Kubernetes can access and orchestrate.
|
If all goes well, you should be able to see the container image listed in the console: *Compute > Container Engine > Container Registry*. We now have a project-wide Docker image available which Kubernetes can access and orchestrate.
|
||||||
|
|||||||
Reference in New Issue
Block a user