A Docker image packing PHP5 + nginx + MySQL to be used as a tiny VPS.
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.
For developement, use the insecure key provided by Phusion baseimage.
To enable SSH access in production you should build an image with your own public key.
Content type
Image
Digest
sha256:8ffa781ff…
Size
138.4 MB
Last updated
almost 11 years ago
docker pull pomin5/php5-nginx-mysql