A Docker image for developing PHP app using PHP-FPM and nginx.
Put an index.php file under project root directory with:
<?php
print phpinfo();
Then
# put your SSH pubkey at `mykey.pub` if you want SSH access
$ make build run
# check http://localhost:8080/
If you use boot2docker replace localhost with the IP reported by boot2docker ip.
This image follows the practice of Phusion baseimage in regard of SSH access. It contains a SSH publick key of my own. So if you are using it for your production site, build from this image and replace the public key with your own.
Content type
Image
Digest
sha256:98f5028ce…
Size
121.8 MB
Last updated
almost 11 years ago
docker pull pomin5/php5-nginx