Skip to content

yihaojf/docker-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP 7.0.8

Build Status

  • Centos 7
  • Nginx 1.9.9
  • PHP 7.0.8

Install Docker

  • ubuntu: sudo apt-get install docker.io
  • centos: sudo yum install docker

Usage

  • clone this repo: git clone phttps://github.com/cdoco/docker-php
  • cd in: cd docker-php
  • build it: docker build -t php ./
  • run it: docker run --name some-php -d -p 8090:80 php

Volume Dir

  • volume local dir: docker run --name some-php -v /some/content:/data/www:ro -d -p 8090:80 php

Edit The Configuration File

  • you can modify the configuration file in the files directory.

About

A dockerfile for php

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nginx 88.8%
  • Shell 11.2%