Sign inSign up

repositoryjp/php

By repositoryjp

•Updated over 10 years ago

The image for creating docker container of PHP environment.

Image
0

622

repositoryjp/php repository overview

⁠Docker Image for PHP Environment

This repository contains Dockerfile of PHP⁠ for Docker⁠'s automated build published to the public Docker Hub Registry⁠.

⁠Base Docker Image

⁠PHP Environment

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

⁠PHPBrew Version

  • 1.20.6

⁠virtPHP Version

  • 0.5.2

⁠Installation

  1. Install Docker⁠.

  2. Download automated build from public Docker Hub Registry⁠: docker pull repositoryjp/php

⁠Usage

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

⁠About SSH

You can connect this container with below user.

  • login_name: php
  • password: (no password)
  • port: (random number generated by docker or you are specified.)

⁠License

See the file LICENSE⁠.

⁠The Author

This Dockerfile was designed and developed by Shinya Kinoshita (From REPOSITORY⁠) in 2016.

Tag summary

Content type

Image

Digest

Size

227.5 MB

Last updated

over 10 years ago

docker pull repositoryjp/php