Docker image with NGINX Unit and PHP 7 module
10K+
Docker image with NGINX Unit and PHP 7 module installed.
Start it with
docker run -d -p 80:8300 vladkras/nginx-unit-php7
and open http://localhost - you'll see phpinfo(). To try your own files stop previous container and type:
docker run -d --rm -p 80:8300 -v "/path/to/your/code:/app/default" vladkras/nginx-unit-php7
default - is the name of this default app, so files are stored in /app/default. Check config.json and official docs for more info.
This image uses vladkras/nginx-unit-base that already has git, curl and NGINX Unit installed from source. Dockerfile along with entrypoint.sh undergo these steps:
/unit dir, that's why WORKDIR is changed firstThis package is licensed under MIT License and contains NGINX Unit licensed under Apache License 2.0
Content type
Image
Digest
Size
87.9 MB
Last updated
over 8 years ago
docker pull vladkras/nginx-unit-php7