Public | Automated Build

Last pushed: 2 months ago
Short Description
Run PHP 5.5 / 5.6 / 7.0 / 7.1 in Docker container
Full Description

PHP

Ready-to-use images for PHP 5.5 / 5.6 / 7.0 / 7.1, with FPM and Composer preinstalled.



Discussion / Help

Image

These images have preinstalled couple of PHP extensions. Let's take a look.

PHP PHP+FPM
apc apc
apcu apcu
bcmath bcmath
bz2 bz2
calendar calendar
cgi cgi
cli cli
ctype ctype
curl curl
geoip geoip
gettext gettext
gd gd
- fpm
intl intl
imagick imagick
imap imap
ldap ldap
mbstring mbstring
mcrypt mcrypt
memcached memcached
mongo mongo
mysql mysql
pdo pdo
pgsql pgsql
redis redis
soap soap
sqlite3 sqlite3
ssh2 ssh2
xmlrpc xmlrpc
xsl xsl
zip zip

Composer

This super image has also preinstalled Composer with ultra fast plugin prestissimo.

Usage

7.1 / 7.1+FPM




docker run -v /path/to/site:/srv dockette/php71
docker run -v /path/to/site:/srv dockette/php71-fpm
docker run -v /path/to/site:/srv dockette/php:7.1
docker run -v /path/to/site:/srv dockette/php:7.1-fpm

In case of customization:

  • /etc/php/7.1/cli/conf.d/991-custom.ini
  • /etc/php/7.1/cgi/conf.d/991-custom.ini
  • /etc/php/7.1/fpm/conf.d/991-custom.ini

7.0 / 7.0+FPM




docker run -v /path/to/site:/srv dockette/php70
docker run -v /path/to/site:/srv dockette/php70-fpm
docker run -v /path/to/site:/srv dockette/php:7.0
docker run -v /path/to/site:/srv dockette/php:7.0-fpm

In case of customization:

  • /etc/php/7.0/cli/conf.d/991-custom.ini
  • /etc/php/7.0/cgi/conf.d/991-custom.ini
  • /etc/php/7.0/fpm/conf.d/991-custom.ini

5.6 / 5.6+FPM




docker run -v /path/to/site:/srv dockette/php56
docker run -v /path/to/site:/srv dockette/php56-fpm
docker run -v /path/to/site:/srv dockette/php:5.6
docker run -v /path/to/site:/srv dockette/php:5.6-fpm

In case of customization:

  • /etc/php/5.6/cli/conf.d/991-custom.ini
  • /etc/php/5.6/cgi/conf.d/991-custom.ini
  • /etc/php/5.6/fpm/conf.d/991-custom.ini

5.5 / 5.5+FPM




docker run -v /path/to/site:/srv dockette/php55
docker run -v /path/to/site:/srv dockette/php55-fpm
docker run -v /path/to/site:/srv dockette/php:5.5
docker run -v /path/to/site:/srv dockette/php:5.5-fpm

In case of customization:

  • /etc/php5/cli/conf.d/991-custom.ini
  • /etc/php5/cgi/conf.d/991-custom.ini
  • /etc/php5/fpm/conf.d/991-custom.ini
Docker Pull Command
Owner
dockette
Source Repository