Public | Automated Build

Last pushed: 3 months ago
Short Description
docker-nginx-php7
Full Description

nginx-php7

Docker image for NGINX and PHP7, started using Supervisor.

Build image

docker build huubvdw/nginx-php7

Run container

docker run \
    --name nginx-php7 \
    -p 80:80 \
    -v /path/to/laravel:/var/www \
    huubvdw/nginx-php7

Test container

http://127.0.0.1/

Run bash on container (for debug)

docker exec -it nginx-php7 bash

Expose API url for PhpStorm

brew install socat
socat -d TCP-LISTEN:2376,range=127.0.0.1/32,reuseaddr,fork UNIX:/var/run/docker.sock
Docker Pull Command
Owner
huubvdw
Source Repository