Public | Automated Build

Last pushed: 16 days ago
Short Description
google cloud sdk in alpine linux.
Full Description

Google Cloud SDK in Alpine Linux Image

This image has google cloud sdk on the alpine linux.

Tag

  • gcloud only (latest, 113.0.0)
  • gcloud with docker client (113.0.0-docker)

Dependency modules

  • java8
  • php5.6
  • python 2.7

Additional installed components

  • alpha
  • beta
  • kubectl

Usage

Configuration

First, execute command below.

docker run -it -v /your-config-dir:/root/.config honto/gcloud gcloud init

Authorization google cloud platform. See here.

Example

docker run -v /your-config-dir:/root/.config honto/gcloud gcloud compute instances create xxx
docker run -v /your-config-dir:/root/.config honto/gcloud gsutil ls
docker run -v /your-config-dir:/root/.config honto/gcloud bq ls

Using docker in docker

If you want to use google cloud registry, use honto/gcloud:113.0.0-docker.

First, run the docker host(docker in docker).

docker run -d --privileged --name some-docker docker:1.11-dind

Next, run the docker client.

docker run --rm --link some-docker:docker -e DOCKER_HOST=tcp://docker:2375 -v /your-config-dir:/root/.config honto/gcloud:113.0.0-docker gcloud docker pull gcr.io/google-containers/pause:1.0
Docker Pull Command
Owner
honto
Source Repository

Comments (1)
yottabit
6 months ago

Hi, is it possible you could install crcmod in this container for use by gsutil to greatly speed up gsutil rsync? Thank you!