summaryrefslogtreecommitdiffstats
path: root/Services/php
diff options
context:
space:
mode:
Diffstat (limited to 'Services/php')
-rw-r--r--Services/php/README.md24
1 files changed, 11 insertions, 13 deletions
diff --git a/Services/php/README.md b/Services/php/README.md
index f0b0326..1da6266 100644
--- a/Services/php/README.md
+++ b/Services/php/README.md
@@ -1,34 +1,32 @@
-# STARTX Services docker-images : Apache-PHP
+# STARTX Services docker-images : PHP Webserver
+This container run php via apache on fedora server.
## Running from docker registry
- # docker run -d -p 8080:80 --name="test-www" -e VIRTUAL_HOST=www.project.startx.fr startx/sv-php
-
-## Running from local Dockerfile
+ # docker run -d -p 80:80 --name="php" startx/sv-php
+## Build and run 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/
+ mkdir startx-docker-images;
+ cd startx-docker-images;
+ git clone https://github.com/startxfr/docker-images.git .
and build the container
- # docker build --rm -t <username>/www .
+ docker build -t sv-php Services/php/
### Running local image
- # docker run -d -p 8080:80 --name="test-www" -e VIRTUAL_HOST=www.project.startx.fr <username>/www
+ # docker run -d -p 80:80 --name="php" sv-php
## Accessing server
- # firefox http://localhost:8080
+ # firefox http://localhost
## 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)
-
+* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/) \ No newline at end of file