While designed for web development, the PHP scripting language also provides general-purpose use.
50K+

This alternative collection of images will help you in the PHP development, this use ubuntu:latest has base image, Nginx for web server and SupervisorD to handle all together, have fun :)
docker run -it jaschweder/php php -v
PHP 7.0.22-dev (cli) (built: Jul 12 2017 13:23:03) ( ZTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
# from your project root directory
docker run --rm -v "$PWD:/var/www" jaschweder/php:tools phpunit
# from your project root directory
docker run -d -v "$PWD:/var/www" jaschweder/php:server
docker run -d -v "$PWD:/var/www" jaschweder/php:laravel
FROM jaschweder/php
COPY . /var/www
WORKDIR /var/www
CMD ['php', 'yourscript.php']
version: '2'
services:
server:
image: jaschweder/php:laravel
depends_on:
- redis
- db
links:
- redis
- db
volumes:
- .:/var/www
redis:
image: redis:alpine
db:
image: mariadb
You are welcome, go to the repository on Github
Found a bug or some secure problem ? please, open an issue or send a e-mail to the author
Created and maintained by Jonathan A. Schweder [email protected]`
Content type
Image
Digest
Size
359.4 MB
Last updated
about 8 years ago
docker pull jaschweder/php