Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

Supported tags and respective Dockerfile links

What contains this image?

How to use this image

Traditional way

   docker run -d estebanmatias92/hhvm-improved:fastcgi

With this, you have a hhvm server that runs on port 9000 from the container ip.

Dockerize way

With Dockerize you can redirect logs to Docker log collector and easily manage any configuration at runtime through templates and environment variables.

Before start to using it, i recommend you to read the Jason Wilder’s post for a more in-depth explanation about this tool.

   FROM estebanmatias92/hhvm-improved
   COPY ./config/php.tmpl /var/www/config/
   ENTRYPOINT [“dockerize”, “-template”, “/var/www/config/php.tmpl:/etc/hhvm/php.ini”, “-stdout”, “/var/log/hhvm/access.log”, “-stderr”, “/var/log/hhvm/error.log”, “/usr/local/bin/hhvm”]
   CMD [“--mode”, “server”]

If the template that you copied had some placeholder to replace, you can make usage of it:

   docker build --force-rm -t my-hhvm-image .
   docker run -d -e SEVER_PORT=9001 my-hhvm-image

And you have a hhvm server runnin on port 9001.

In the example above i assume that you made a placeholder for “hhvm.server.port” option (hhvm.server.port={{ .Env.SERVER_PORT }}), but you can create this way whatever environment variable that you want.


View license information for hhvm.

View license information for dockerize.

User Feedback


If you have any problems with or questions about this image, please contact me through a GitHub issue.


Every contribution are welcome.

Docker Pull Command