Skip to content

melectrik/gcloud-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Multi cloud SDK for Google Cloud

This Project

This folder contains gcloud.sh, a helper enabling developers and devops engineers to

  • use a docker containerized gcloud command
  • authenticate and use multiple gcloud accounts in parallel
  • use multiple gcloud projects in parallel - especially useful with gcloud's adc based authentication

Usage

  1. create a copy from .env.template, name it for example .env.myconfig, end edit it
  2. Build a gcloud based imagedocker build -t $MY_GCLOUD_IMAGE . - It's only needed locally, so don't docker push it anynwhere, not to publish any sensitive data of yours!
  3. Call it: $ ./gcloud.sh as follows:
$ ./gcloud.sh --help
Usage:
        ./gcloud.sh <subcommand>

# Where subcommand is the extension in .env.<subcommand>, which represents an isolated containerized gcloud command and contains the settings fot it.
# You might want to see an example at the .env.template file in this folder.

Requirements

gcloud.sh mainly generates docker based commands. Therefore, using it requires a working docker environment on your workstation.

More details

Google Cloud SDK cli tool is documented here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published