Skip to content

CSUChico-CSCI644/gcloud-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Gcloud Docker Container

Initial code for using Google's gcloud APIs from a docker container, instructions to use below.

Gcloud

Adapted from documentation: https://cloud.google.com/sdk/docs/downloads-docker

  1. Clone this repo

  2. Pull Docker Image From Google

docker pull gcr.io/google.com/cloudsdktool/google-cloud-cli:stable
  1. Auth Google
cd gcloud
docker run -ti --name gcloud-config gcr.io/google.com/cloudsdktool/google-cloud-cli:stable gcloud auth login
  1. Build docker container
docker compose build gcloud
  1. Run docker container
docker compose run gcloud /bin/bash

Now should have a terminal that can run gcloud commands from docker.

About

Repository of initial code to use gcloud APIs inside a docker container

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors