From 910a26141f16336c96e304ebe850a4e5a0f97f95 Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 09:34:55 +0100 Subject: modif des readme de chaque container pour etre plus expressif --- Applications/phpmyadmin/README.md | 25 ++++++++++++------------- Applications/rockmongo/README.md | 37 ++++++++++++++++++++++++++++++------- 2 files changed, 42 insertions(+), 20 deletions(-) (limited to 'Applications') diff --git a/Applications/phpmyadmin/README.md b/Applications/phpmyadmin/README.md index 59eb6bd..e954532 100644 --- a/Applications/phpmyadmin/README.md +++ b/Applications/phpmyadmin/README.md @@ -1,32 +1,31 @@ -# STARTX Application docker-images : PhpMyAdmin +# STARTX Application docker-images : PHPMyAdmin +This container run phpMyAdmin on PHP server running under a fedora server. ## Running from docker registry + # docker run -it --name="pma" startx/app-pma - # docker run -d -p 8080:80 --name="test-pma" -e VIRTUAL_HOST=pma.project.startx.fr startx/app-phpmyadmin - -## Running from local Dockerfile - +## 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/Applications/phpmyadmin/ + 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 /pma . + docker build -t startx/app-pma Applications/phpmyadmin/ ### Running local image - # docker run -d -p 8080:80 --name="test-pma" -e VIRTUAL_HOST=pma.project.startx.fr /pma + # docker run -d -p 80:80 --name="pma" startx/app-pma ## Accessing server - # firefox http://localhost:8080 + # firefox http://localhost/pma ## Related Resources - * [Sources files](https://github.com/startxfr/docker-images/tree/master/Applications/phpmyadmin) * [Github STARTX profile](https://github.com/startxfr/docker-images) -* [Docker registry for this container](https://registry.hub.docker.com/u/startx/app-phpmyadmin/) \ No newline at end of file +* [Docker registry for this container](https://registry.hub.docker.com/u/startx/app-phpmyadmin/) +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/) \ No newline at end of file diff --git a/Applications/rockmongo/README.md b/Applications/rockmongo/README.md index ae847ae..e023217 100644 --- a/Applications/rockmongo/README.md +++ b/Applications/rockmongo/README.md @@ -1,10 +1,33 @@ -STARTX docker-images - RockMongo -================================ +# STARTX Application docker-images : Rockmongo +This container run Rockmongo on PHP server running under a fedora server. -**Description** -Based on the [maxexcloo rockmongo](https://github.com/maxexcloo/Docker) Dockerfile +## Running from docker registry + # docker run -it --name="rockmongo" startx/app-rockmongo + +## Build and run from local Dockerfile +### Building docker image +Copy the sources to your docker host + + mkdir startx-docker-images; + cd startx-docker-images; + git clone https://github.com/startxfr/docker-images.git . + +and build the container + + docker build -t startx/app-rockmongo Applications/rockmongo/ + +### Running local image + + # docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo + +## Accessing server + + # firefox http://localhost/rockmongo + +## Related Resources +* [Sources files](https://github.com/startxfr/docker-images/tree/master/Applications/rockmongo) +* [Github STARTX profile](https://github.com/startxfr/docker-images) +* [Docker registry for this container](https://registry.hub.docker.com/u/startx/app-rockmongo/) +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/) -**Usage** - docker run --name="test-rockmongo" -p 81:80 -d -e VIRTUAL_HOST=pma.project.dev.startx.fr startx/pma - docker run --name="test-rockmongo" -d --link test-mongo:test-mongo -e VIRTUAL_HOST=rm.project.dev.startx.fr startx/app-rockmongo -- cgit v1.2.3