Running HHVM's "hh_server" tool inside Docker container fails

641 Views Asked by At

Running HHVM's hh_server tool in Docker fails with following error:

Fatal error: exception Not_found.

Same tool works fine in the host with same OS (Ubuntu 14.04) and HTTP server (nginx).

Any idea how this might occur?

1

There are 1 best solutions below

0
On

I had the exact same problem on a Debian image. After talking to a guy at hhvm's IRC channel I got it working by setting the USER environment variable to a username. Apparently hh_server don't work if USER is empty