diff options
author | startxfr <clarue@startx.fr> | 2014-11-16 03:18:44 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2014-11-16 03:18:44 +0100 |
commit | 77fab0ea6f3d8fac14f0f616339483087ee0ba90 (patch) | |
tree | 594e1b48060d492d048e0c9c0c42b88c4649e562 /Services | |
parent | 31e2db745799c52b1b01860bc9fddbbb675d07ce (diff) | |
download | phpmyadmin-77fab0ea6f3d8fac14f0f616339483087ee0ba90.tar.gz phpmyadmin-77fab0ea6f3d8fac14f0f616339483087ee0ba90.tar.bz2 phpmyadmin-77fab0ea6f3d8fac14f0f616339483087ee0ba90.tar.xz phpmyadmin-77fab0ea6f3d8fac14f0f616339483087ee0ba90.zip |
modif du readme de fedora
Diffstat (limited to 'Services')
-rw-r--r-- | Services/php/README.md | 40 |
1 files changed, 32 insertions, 8 deletions
diff --git a/Services/php/README.md b/Services/php/README.md index 4844da0..ede4427 100644 --- a/Services/php/README.md +++ b/Services/php/README.md @@ -1,10 +1,34 @@ -STARTX docker-images - PHP -========================== +# STARTX Services docker-images : Apache-PHP -**Description** -Based on the [tutum php](https://registry.hub.docker.com/u/tutum/apache-php) Dockerfile +## Running from docker registry + + # docker run -d -p 8080:80 --name="test-www" startx/sv-php + +## Running from local Dockerfile + +### Building docker image +Copy the sources to your docker host + + # mkdir startx-docker-images; + # git clone https://github.com/startxfr/docker-images.git startx-docker-images/ + # cd startx-docker-images/Services/php/ + +and build the container + + # docker build --rm -t <username>/www . + +### Running local image + + # docker run -d -p 8080:80 --name="test-www" <username>/www + +## Accessing server + + # firefox http://localhost:8080 + +## Related Resources + +* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/php) +* [Github STARTX profile](https://github.com/startxfr/docker-images) +* [Docker registry for this container](https://registry.hub.docker.com/u/startx/sv-php/) +* [tutum php](https://registry.hub.docker.com/u/tutum/apache-php) -**Usage** - - docker run -d -p 80:80 startx/sv-php // minimum to run properly the server - docker run -d -p 80:80 --name="test-www" -e VIRTUAL_HOST=php.project.dev.startx.fr startx/sv-php |