grpcui
grpcui copied to clipboard
Can't I use Dockerfile?
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, 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.
This issue can be closed: the recommended advice resolves the problem.