Przeglądaj źródła

docs/installation/google: update gcloud options

Docker-DCO-1.1-Signed-off-by: Johan Euphrosine <proppy@google.com> (github: proppy)
Johan Euphrosine 11 lat temu
rodzic
commit
e1bb99d925
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      docs/sources/installation/google.md

+ 2 - 1
docs/sources/installation/google.md

@@ -20,7 +20,8 @@ page_keywords: Docker, Docker documentation, installation, google, Google Comput
    (select a zone close to you and the desired instance size)
    (select a zone close to you and the desired instance size)
 
 
         $ gcloud compute instances create docker-playground \
         $ gcloud compute instances create docker-playground \
-          --image https://www.googleapis.com/compute/v1/projects/google-containers/global/images/container-vm-v20140710 \
+          --image container-vm-v20140710 \
+          --image-project google-containers \
           --zone us-central1-a \
           --zone us-central1-a \
           --machine-type f1-micro
           --machine-type f1-micro