Features
- xdebug
docker pull danielsamson/docker-php-7
docker run -d -P --name php-7 -v /var/www/html/:/var/www/html/ danielsamson/docker-php-7
you may wish to change the volume in order to mount the current working directory to /var/www/html
docker run -d -P --name php-7 -v $(pwd):/var/www/html/ danielsamson/docker-php-7
docker start php-7
docker exec -it php-7 bash
You may have to open a shell and restart mysql and apache if they are not running.
This image assumes you are using ubuntu with the docker0 interface. So that you can access the images via 172.16.0.2-172.16.0.254.