summaryrefslogtreecommitdiffstats
path: root/README.md
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 /README.md
parent946f2a44ee81ac21b0d2f66661cc93fe320dbd58 (diff)
downloadphpmyadmin-078fc3dde73e6c80aef1b4ff9d3dcbf0789da724.tar.gz
phpmyadmin-078fc3dde73e6c80aef1b4ff9d3dcbf0789da724.tar.bz2
phpmyadmin-078fc3dde73e6c80aef1b4ff9d3dcbf0789da724.tar.xz
phpmyadmin-078fc3dde73e6c80aef1b4ff9d3dcbf0789da724.zip
modif de code example dans les readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md94
1 files changed, 44 insertions, 50 deletions
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