summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OS/Fedora/README.md13
-rw-r--r--Services/php/README.md40
2 files changed, 42 insertions, 11 deletions
diff --git a/OS/Fedora/README.md b/OS/Fedora/README.md
index df6a92f..6e33b8d 100644
--- a/OS/Fedora/README.md
+++ b/OS/Fedora/README.md
@@ -1,8 +1,8 @@
-# STARTX OS docker-images OS : Fedora
+# STARTX OS docker-images : Fedora
## Running from docker registry
- # docker run -d -p 22 startx/fedora
+ # docker run -d -p 22022:22 --name="test-fedora" startx/fedora
## Running from local Dockerfile
@@ -19,8 +19,15 @@ and build the container
### Running local image
- # docker run -d -p 22 <username>/ssh
+ # docker run -d -p 22022:22 --name="test-fedora" <username>/ssh
## Accessing server
# ssh root@localhost
+
+## Related Resources
+
+* [Sources files](https://github.com/startxfr/docker-images/tree/master/OS/Fedora)
+* [Github STARTX profile](https://github.com/startxfr/docker-images)
+* [Docker registry for this container](https://registry.hub.docker.com/u/startx/fedora/)
+* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/ssh/)
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