Public | Automated Build

Last pushed: 2 years ago
Short Description
Build docker iamges for php application
Full Description

docker-php

Build docker images for php application.

Tags and Dockerfile links

How to use

5.6-cli-server

Under your PHP application project directory.

docker run -v `pwd`:/srv/app -P -d mengzyou/docker-php:5.6-cli-server

5.6-apache-server

  • Execute docker run -p 80:80 -d mengzyou/docker-php:5.6-apache-server and browser the host's IP address using http, you will get the php info.
  • Serving your actual content: docker run -p 80:80 -v /mysite:/srv/www/htdocs/ -d mengzyou/docker-php:5.6-apache-server
Docker Pull Command
Owner
mengzyou
Source Repository