Open Kilenaitor opened 3 years ago
As a bit of additional context, I can manage this myself by modifying my own Dockerfile that I'm including this base image in by configuring the container to run as privileged and adding my own CMD instruction that's based off the one in here.
e.g.
CMD ["/usr/bin/hhvm", "--user", "www-data", "-m", "server", "-c", "/etc/hhvm/server.ini", "-c", "/etc/hhvm/site.ini"]
Need to run as privileged otherwise you get
cap_set_proc failed: Operation not permitted
Is it intentional that this image runs HHVM as root instead of www-data?
Running
ps aux | grep hhvm
inside the container shows:Seems like the invocation command in the Dockerfile should be modified to include
--user=www-data
.