The image for creating docker container of PHP environment.
622
This repository contains Dockerfile of PHP for Docker's automated build published to the public Docker Hub Registry.
This docker image can create a virtual environment for PHP using PHPBrew and virtPHP.
When you want to use PHP, run below commands to install PHP that you want.
[1] Confirm installable versions by PHPBrew.
phpbrew known
[2] Install PHP from PHPBrew.
# Example:
#
# Install PHP 5.6.19
#
phpbrew install 5.6.19
[3] Create a virtual environment for PHP using virtPHP.
# Example:
#
# Create a virtual environment named 'php56env' with PHP 5.6.19
# when you logged in with the user named 'centos'
#
virtphp create --php-bin-dir=/home/centos/.phpbrew/php/php-5.6.19/bin php56env
Install Docker.
Download automated build from public Docker Hub Registry: docker pull repositoryjp/php
docker run -i -t -d -P repositoryjp/php
You can connect this container with below user.
See the file LICENSE.
This Dockerfile was designed and developed by Shinya Kinoshita (From REPOSITORY) in 2016.
Content type
Image
Digest
Size
227.5 MB
Last updated
over 10 years ago
docker pull repositoryjp/php