Files
docker-cli/components/engine/docs/sources/installation/google.md
Filipe Brandenburger 8a89e2c5d1 Update google.md to point to latest container-vm version
In order to match the version listed here:
https://cloud.google.com/compute/docs/containers/container_vms#starting_a_bare_container-vm_instance
Upstream-commit: 7c22b3d599ff1ff6431f06849abc1cec231ad705
Component: engine
2014-09-25 15:19:59 -07:00

1.7 KiB

page_title: Installation on Google Cloud Platform page_description: Installation instructions for Docker on the Google Cloud Platform. page_keywords: Docker, Docker documentation, installation, google, Google Compute Engine, Google Cloud Platform

Google Cloud Platform

QuickStart with Container-optimized Google Compute Engine images

  1. Go to Google Cloud Console and create a new Cloud Project with Compute Engine enabled

  2. Download and configure the Google Cloud SDK to use your project with the following commands:

     $ curl -sSL https://sdk.cloud.google.com | bash
     $ gcloud auth login
     $ gcloud config set project <google-cloud-project-id>
    
  3. Start a new instance using the latest Container-optimized image: (select a zone close to you and the desired instance size)

     $ gcloud compute instances create docker-playground \
       --image container-vm-v20140925 \
       --image-project google-containers \
       --zone us-central1-a \
       --machine-type f1-micro
    
  4. Connect to the instance using SSH:

     $ gcloud compute ssh --zone us-central1-a docker-playground
     $$ docker-playground:~$ sudo docker run hello-world
    

    Hello from Docker. This message shows that your installation appears to be working correctly. ...

Read more about deploying Containers on Google Cloud Platform.