Public Repository

Last pushed: 20 hours ago
Short Description
While designed for web development, the PHP scripting language also provides general-purpose use.
Full Description

Supported tags

php (7.0)

php:sqlsrv

php:5.6

php:5.6-sybase

How to use this image

Most simple use:
docker run -d jaschweder/php bash
php -v
Running tests with phpunit:
# from your project root directory
docker run --rm -v "$PWD:/var/www" jaschweder/php:5.6-tools phpunit
Running a server:
# from your project root directory
docker run -d -v "$PWD:/var/www" jaschweder/php:5.6-server
Running a server for Laravel projects:
# from your project root directory
docker run -d -v "$PWD:/var/www" jaschweder/php:5.6-laravel
From Dockerfile
FROM jaschweder/php
COPY . /var/www
WORKDIR /var/www
CMD ['php', 'yourscript.php']

How to contribute

You are welcome, go to the repository on Github

Bugs

Found a bug or some secure problem ? please, open an issue or send a e-mail to the author

Author

Created and maintained by Jonathan A. Schweder jonathanschweder@gmail.com

Docker Pull Command
Owner
jaschweder

Comments (0)