summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-11-20 15:50:42 +0100
committerstartxfr <clarue@startx.fr>2014-11-20 15:50:42 +0100
commit078fc3dde73e6c80aef1b4ff9d3dcbf0789da724 (patch)
tree5d1c38912ebd0f8a1a945a93611e0ac8456cc535
parent946f2a44ee81ac21b0d2f66661cc93fe320dbd58 (diff)
downloadphpmyadmin-078fc3dde73e6c80aef1b4ff9d3dcbf0789da724.tar.gz
phpmyadmin-078fc3dde73e6c80aef1b4ff9d3dcbf0789da724.tar.bz2
phpmyadmin-078fc3dde73e6c80aef1b4ff9d3dcbf0789da724.tar.xz
phpmyadmin-078fc3dde73e6c80aef1b4ff9d3dcbf0789da724.zip
modif de code example dans les readme
-rw-r--r--Applications/phpmyadmin/README.md2
-rw-r--r--Applications/rockmongo/README.md2
-rw-r--r--README.md94
-rw-r--r--Services/memcache/README.md4
4 files changed, 48 insertions, 54 deletions
diff --git a/Applications/phpmyadmin/README.md b/Applications/phpmyadmin/README.md
index 2670059..c0796f8 100644
--- a/Applications/phpmyadmin/README.md
+++ b/Applications/phpmyadmin/README.md
@@ -2,7 +2,7 @@
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 80:80 --name="pma" startx/app-pma
## Build and run from local Dockerfile
### Building docker image
diff --git a/Applications/rockmongo/README.md b/Applications/rockmongo/README.md
index d4a9773..acf9ff0 100644
--- a/Applications/rockmongo/README.md
+++ b/Applications/rockmongo/README.md
@@ -2,7 +2,7 @@
This container run Rockmongo on PHP server running under a fedora server.
## Running from docker registry
- docker run -it --name="rockmongo" startx/app-rockmongo
+ docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo
## Build and run from local Dockerfile
### Building docker image
diff --git a/README.md b/README.md
index 637ead3..d6d13a7 100644
--- a/README.md
+++ b/README.md
@@ -1,50 +1,44 @@
-docker-images
-=============
-
-**Description**
-This repository contains a collection of Docker configurations used in STARTX IS.
-
-**Usage**
-The following commands can be used to deploy some of the services offered by the Docker containers in this repository.
-
-- **Applications (app)**
-
- - **phpmyadmin**
-Based on the [maxexcloo phpmyadmin](https://github.com/maxexcloo/Docker) Dockerfile
-
- docker run --name="test-phpmyadmin" -p 81:80 -d -e VIRTUAL_HOST=pma.project.dev.startx.fr startx/pma
- docker run --name="test-phpmyadmin" -d --link maria:maria -e VIRTUAL_HOST=pma.project.dev.startx.fr startx/app-phpmyadmin
-
- - **rockmongo**
-Based on the [maxexcloo phpmyadmin](https://github.com/maxexcloo/Docker) Dockerfile
-
- docker run --name="test-rockmongo" -p 82:80 -d -e VIRTUAL_HOST=rm.project.dev.startx.fr startx/rockmongo
- docker run --name="test-rockmongo" -d --link mongo:mongo -e VIRTUAL_HOST=mongo.project.dev.startx.fr startx/app-rockmongo
-
-- **Services (sv)**
-
- - **php**
-Based on the [tutum php](https://registry.hub.docker.com/u/tutum/apache-php) Dockerfile
-
- docker run --name="test-web" -d -e VIRTUAL_HOST=web.project.dev.startx.fr startx/sv-php
-
- - **mariadb**
-
- docker run --name="test-maria" -d startx/sv-maria
-
- - **mongodb**
-
- docker run --name="test-mongo" -d startx/sv-mongo
-
- - **mysqldb**
-
- docker run --name="test-mysql" -d startx/sv-mysql
-
- - **postgres**
-
- docker run --name="test-postgres" -d startx/sv-postgres
-
- - **ooconv**
-
- docker run --name="test-ooconv" -d startx/sv-ooconv
-
+# STARTX docker-images repository
+Docker container images
+
+## Running container from docker registry images
+* Operating Systems
+ * Fedora ```docker run -it --name="fedora" startx/fedora bash```
+* Services
+ * Apache ```docker run -d -p 80:80 --name="apache" startx/sv-apache```
+ * MariaDB ```docker run -d -p 3306:3306 --name="mariadb" startx/sv-mariadb```
+ * Memcache ```docker run -d -p 11211:11211 --name="memcache" startx/sv-memcache```
+ * MongoDB ```docker run -d -p 27017:27017 --name="mongo" startx/sv-mongo```
+ * nodejs ```docker run -d -p 8000:8000 --name="nodejs" startx/sv-nodejs```
+ * ooconv ```docker run -d -p XXX:XXX --name="ooconv" startx/sv-ooconv```
+ * php ```docker run -d -p 80:80 --name="php" startx/sv-php```
+ * postgreSQL ```docker run -d -p 5432:5432 --name="postgres" startx/sv-postgres```
+ * SSH ```docker run -d -p 22:22 --name="ssh" startx/sv-ssh```
+* Applications
+ * PhpMyAdmin ```docker run -d -p 80:80 --name="pma" startx/app-pma```
+ * RockMongo ```docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo```
+
+## Build and run from local Dockerfile
+### Building docker image
+Copy sources in your docker host / build server
+
+ mkdir startx-docker-images;
+ cd startx-docker-images;
+ git clone https://github.com/startxfr/docker-images.git .
+
+Build the container
+
+ docker build -t <tag_name> <path_to_Dockerfile>
+
+### Running local image
+Running an interactive image and get access to shell
+
+ docker run -it <image_name> bash
+
+Running an image as a daemon
+ docker run -d <image_name>
+
+## Related Resources
+* [Sources files](https://github.com/startxfr/docker-images/tree/master/)
+* [Github STARTX profile](https://github.com/startxfr/docker-images)
+* [Docker registry for this container](https://registry.hub.docker.com/u/startx/fedora/) \ No newline at end of file
diff --git a/Services/memcache/README.md b/Services/memcache/README.md
index 0053b9d..3b200c2 100644
--- a/Services/memcache/README.md
+++ b/Services/memcache/README.md
@@ -3,7 +3,7 @@ This container run memcached on fedora server.
## Running from docker registry
- docker run -d -p 3306:3306 --name="memcache" startx/sv-memcache
+ docker run -d -p 11211:11211 --name="memcache" startx/sv-memcache
when linked to another container
docker run -d --name="memcache" startx/sv-memcache
docker run -d --name="php" --link memcache:memcache startx/sv-php
@@ -22,7 +22,7 @@ Build the container
### Running local image
- docker run -d -p 3306:3306 --name="memcache" sv-memcache
+ docker run -d -p 11211:11211 --name="memcache" sv-memcache
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/memcache)