grpcui icon indicating copy to clipboard operation
grpcui copied to clipboard

Can't I use Dockerfile?

Open oliverpark999 opened this issue 2 years ago • 2 comments

When running using Dockerfile of fullstorydev/grpcui, the following error occurs. What's the problem? Even if I find a document, there is no way to drive it with Dockerfile, so it is difficult.

  • Error
This program requires exactly one arg: the host:port of gRPC server.
Try '/bin/grpcui -help' for more details.

oliverpark999 avatar May 16 '23 04:05 oliverpark999

@oliverpark999, you have to pass args to the docker container. For example:

docker run --rm -p :8080:8080 fullstorydev/grpcui:v1.3.1 demo.connect.build:443    

That last argument is the host:port. Specify args after the image name.

If you are running the container in an environment like Kubernetes, it also includes ways to pass parameters to the container in the workload specification.

jhump avatar May 16 '23 12:05 jhump

This issue can be closed: the recommended advice resolves the problem.

conorsch avatar Jul 12 '23 20:07 conorsch