Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 566 Bytes

File metadata and controls

24 lines (14 loc) · 566 Bytes

cloudhero-docker-php

Versions: Apache/2.4.7 (Ubuntu) PHP 5.5.9-1ubuntu4.11

Base docker image to run PHP applications on Apache

Building the base image

To create the base image cloudhero/apache-php, execute the following command on the cloudhero-docker-php folder:

docker build -t cloudhero/apache-php .

Running your Apache+PHP docker image

Start your image binding the external ports 80 in all interfaces to your container:

docker run -d -p 80:80 cloudhero/apache-php