github.com/feiyang21687/docker@v1.5.0/docs/sources/installation/google.md (about)

     1  page_title: Installation on Google Cloud Platform
     2  page_description: Installation instructions for Docker on the Google Cloud Platform.
     3  page_keywords: Docker, Docker documentation, installation, google, Google Compute Engine, Google Cloud Platform
     4  
     5  # Google Cloud Platform
     6  
     7  ## QuickStart with Container-optimized Google Compute Engine images
     8  
     9  1. Go to [Google Cloud Console][1] and create a new Cloud Project with
    10     [Compute Engine enabled][2]
    11  
    12  2. Download and configure the [Google Cloud SDK][3] to use your
    13     project with the following commands:
    14  
    15          $ curl -sSL https://sdk.cloud.google.com | bash
    16          $ gcloud auth login
    17          $ gcloud config set project <google-cloud-project-id>
    18  
    19  3. Start a new instance using the latest [Container-optimized image][4]:
    20     (select a zone close to you and the desired instance size)
    21  
    22          $ gcloud compute instances create docker-playground \
    23            --image container-vm \
    24            --zone us-central1-a \
    25            --machine-type f1-micro
    26  
    27  4. Connect to the instance using SSH:
    28  
    29          $ gcloud compute ssh --zone us-central1-a docker-playground
    30          docker-playground:~$ sudo docker run hello-world
    31  	Hello from Docker.
    32  	This message shows that your installation appears to be working correctly.
    33  	...
    34  
    35  Read more about [deploying Containers on Google Cloud Platform][5].
    36  
    37  [1]: https://cloud.google.com/console
    38  [2]: https://developers.google.com/compute/docs/signup
    39  [3]: https://developers.google.com/cloud/sdk
    40  [4]: https://developers.google.com/compute/docs/containers#container-optimized_google_compute_engine_images
    41  [5]: https://developers.google.com/compute/docs/containers