Public | Automated Build

Last pushed: 7 months ago
Short Description
An PHP 5.6 container using Software Collections rh-php56 build fromCentOS 7
Full Description

CentOS PHP 5.6

An PHP 5.6 container using Software Collections rh-php56 build from CentOS 7.

PHP 5.6 image build with:

Usage

With docker client

You can run this container with docker client:

docker run -d \
  --volumes /etc/localtime:/etc/localtime:ro \
  --volumes /docker/volumes/www:/var/www \
  --volumes /docker/volumes/php56/log:/var/log/php-fpm \
  --expose 9000 \
  llaumgui/centos7-scl-php56

With compose

You can use this container in a docker-compose.yml file:

  php56:
    container_name: php56
    image: llaumgui/centos7-scl-php56
    restart: always
    mem_limit: 2g
    volumes:
     - /etc/localtime:/etc/localtime:ro
     - /docker/volumes/www:/var/www
     - /docker/volumes/php56/log:/var/log/php-fpm
    expose:
     - 9000
Docker Pull Command
Owner
llaumgui
Source Repository

Comments (0)