Public | Automated Build

Last pushed: 4 months ago
Short Description
virtPHP 0.5.2 Image.
Full Description

The Recipe of virtPHP 0.5.2 Docker Image

This directory contains Dockerfile of virtPHP 0.5.2 for Docker's automated build published to the public Docker Hub Registry.

This image also contains "PHPBrew", a version management tool for PHP.

Base Docker Image


PHPBrew Version



[1] Install Docker.

[2] Download automated build from public Docker Hub Registry: docker pull repositoryjp/virtphp


docker run -i -t -d -P repositoryjp/virtphp

How to create your PHP environment

If you want to use PHP, run below commands to create your PHP environment.

[1] Confirm installable versions by PHPBrew.

phpbrew known

[2] Install PHP from PHPBrew.

# Example:
# Install PHP 5.6.20
phpbrew install 5.6.20

[3] Create a virtual environment for PHP using virtPHP.

# Example:
# Create a virtual environment named 'phpenv' with PHP 5.6.20.
virtphp create --php-bin-dir=$HOME/.phpbrew/php/php-5.6.20/bin phpenv

How to activate your PHP environment

If you want to activate your PHP environment, run below command.

# Example:
# Activate a virtual environment named 'phpenv'.
source $HOME/.virtphp/envs/phpenv/bin/activate


See the file LICENSE.


Shinya Kinoshita ( REPOSITORY )

Docker Pull Command
Source Repository