Skip to content

Instantly share code, notes, and snippets.

@proppy
Last active August 29, 2015 14:13
Show Gist options
  • Save proppy/205f00bee34fff815733 to your computer and use it in GitHub Desktop.
Save proppy/205f00bee34fff815733 to your computer and use it in GitHub Desktop.
try docker machine GCP integration

Assuming you installed docker machine and a docker build with identity support locally, and a Google Cloud Platform Project.

PROJECT=my-gcp-project
ZONE=us-central1-f
machine create --driver google --google-project ${PROJECT} --google-zone ${ZONE} \
    gcp-machine
export DOCKER_HOST=$(machine url)
export DOCKER_AUTH=identity
docker version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment