fullstorydev / grpcui

An interactive web UI for gRPC, along the lines of postman
MIT License
5.15k stars 383 forks source link

Don't try to open browser when running in Docker #246

Closed jhump closed 1 year ago

jhump commented 1 year ago

If I use the -it flags with docker run, the tool realizes it's in interactive mode, so it tries to open a browser. But that doesn't work from inside a container.

Here's the error I see:

Failed to open browser: exec: "xdg-open": executable file not found in $PATH

It's not a fatal error, so the tool still works. It's just a nuisance error in the output. This one-liner should remedy that.