Skip to content

Instantly share code, notes, and snippets.

@jamesward
Created April 14, 2021 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesward/ac6a91bd590ea40c8211837253535252 to your computer and use it in GitHub Desktop.
Save jamesward/ac6a91bd590ea40c8211837253535252 to your computer and use it in GitHub Desktop.
run gcloud container
export GOOGLE_APPLICATION_CREDENTIALS=your.json
docker run -it \
-eCLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=/certs/svc_account.json \
-v$GOOGLE_APPLICATION_CREDENTIALS:/certs/svc_account.json \
gcr.io/google.com/cloudsdktool/cloud-sdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment