Sign inSign up

sjdaws/spanner-cli

By sjdaws

Updated about 6 years ago

Google Spanner CLI

Image
1

100K+

sjdaws/spanner-cli repository overview

Google Spanner CLI

This repository is simply a dockerised version of the Google Spanner CLI by Cloud Spanner Ecosystem.

Usage

Command Line

This shell statement shows the basic usage, which will download the CLI and perform an intial connection.

docker run --rm --env SPANNER_DATABASE=database_name --env SPANNER_INSTANCE_ID=instance_id --env SPANNER_PROJECT_ID=project_id sjdaws/spanner-cli:latest
Docker Compose

This is the equivalent configuration for docker-compose, with custom environment variables for your spanner instance.

version: '3'
  services:
    spanner-cli:
      image: sjdaws/spanner-cli:latest
      environment:
        - SPANNER_DATABASE=database_name
        - SPANNER_INSTANCE_ID=instance_id
        - SPANNER_PROJECT_ID=project_id

Tag summary

Content type

Image

Digest

Size

1007.4 MB

Last updated

over 6 years ago

docker pull sjdaws/spanner-cli