Sign inSign up

znly/grpc_cli

By znly

Updated about 9 years ago

grpc_cli in Docker

Image
0

50K+

znly/grpc_cli repository overview

grpc_cli in Docker

grpc_cli is a command line tool to call gRPC services from the command line. Read about it in the gRPC doc.

Usage

Help
$ docker run --rm znly/grpc_cli help
With reflection enabled
$ docker run --rm znly/grpc_cli call myservice.org --enable_ssl SomeCall 'x: "y"'
Without reflection
$ docker run --rm -w $(pwd) -v $(pwd):$(pwd) znly/grpc_cli call myservice.org --enable_ssl --proto_path $(pwd) --protofiles myservice.proto SomeCall 'x: "y"'

Image size

The image leverages multi stage builds and UPX to achieve 9.7mb in size, and uses scratch as its base.

Root certs

If you need to moditfy root certs, you'll need to change /usr/local/share/grpc/roots.pem.

Tag summary

Content type

Image

Digest

Size

9.1 MB

Last updated

about 9 years ago

docker pull znly/grpc_cli