summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-11-20 17:00:41 +0100
committerstartxfr <clarue@startx.fr>2014-11-20 17:00:41 +0100
commitda24c283afeeb8087b92c2f463ffe5cc73df0c29 (patch)
tree6dc098c55699299edf193fc05f0a7efadecd7e3f
parent078fc3dde73e6c80aef1b4ff9d3dcbf0789da724 (diff)
downloadphpmyadmin-da24c283afeeb8087b92c2f463ffe5cc73df0c29.tar.gz
phpmyadmin-da24c283afeeb8087b92c2f463ffe5cc73df0c29.tar.bz2
phpmyadmin-da24c283afeeb8087b92c2f463ffe5cc73df0c29.tar.xz
phpmyadmin-da24c283afeeb8087b92c2f463ffe5cc73df0c29.zip
modif de code example dans les readme
-rw-r--r--Applications/phpmyadmin/README.md5
-rw-r--r--Applications/rockmongo/README.md5
-rw-r--r--OS/Fedora/README.md4
-rw-r--r--README.md4
-rw-r--r--Services/apache/README.md5
-rw-r--r--Services/mariadb/README.md5
-rw-r--r--Services/memcache/README.md5
-rw-r--r--Services/mongo/README.md5
-rw-r--r--Services/nodejs/README.md5
-rw-r--r--Services/php/README.md5
-rw-r--r--Services/postgres/README.md5
-rw-r--r--Services/ssh/README.md5
12 files changed, 48 insertions, 10 deletions
diff --git a/Applications/phpmyadmin/README.md b/Applications/phpmyadmin/README.md
index c0796f8..32d2071 100644
--- a/Applications/phpmyadmin/README.md
+++ b/Applications/phpmyadmin/README.md
@@ -21,8 +21,11 @@ Build the container
docker run -d -p 80:80 --name="pma" startx/app-pma
## Accessing server
+access to the running webserver
+ firefox http://localhost:80/pma
- firefox http://localhost/pma
+access to the container itself
+ docker exec -it pma bash
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Applications/phpmyadmin)
diff --git a/Applications/rockmongo/README.md b/Applications/rockmongo/README.md
index acf9ff0..18f0618 100644
--- a/Applications/rockmongo/README.md
+++ b/Applications/rockmongo/README.md
@@ -21,8 +21,11 @@ Build the container
docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo
## Accessing server
+access to the running webserver
+ firefox http://localhost:80/rockmongo
- firefox http://localhost/rockmongo
+access to the container itself
+ docker exec -it rockmongo bash
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Applications/rockmongo)
diff --git a/OS/Fedora/README.md b/OS/Fedora/README.md
index e6f3ac1..02646e9 100644
--- a/OS/Fedora/README.md
+++ b/OS/Fedora/README.md
@@ -23,7 +23,11 @@ Build the container
## Accessing server
+ # Start interactive shell
docker run -it startx/fedora bash
+ # Start as a daemon
+ docker run -d startx/fedora bash
+ docker exec -it fedora /bin/bash
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/fedora)
diff --git a/README.md b/README.md
index d6d13a7..967137a 100644
--- a/README.md
+++ b/README.md
@@ -33,10 +33,12 @@ Build the container
### Running local image
Running an interactive image and get access to shell
- docker run -it <image_name> bash
+ docker run -it <image_name> <cmd>
Running an image as a daemon
+
docker run -d <image_name>
+ docker exec -it <image_name> <cmd>
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/)
diff --git a/Services/apache/README.md b/Services/apache/README.md
index 2839ad5..897a1bf 100644
--- a/Services/apache/README.md
+++ b/Services/apache/README.md
@@ -23,8 +23,11 @@ Build the container
docker run -d -p 80:80 --name="apache" sv-apache
## Accessing server
+access to the running webserver
+ firefox http://localhost:80
- firefox http://localhost
+access to the container itself
+ docker exec -it apache bash
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/apache)
diff --git a/Services/mariadb/README.md b/Services/mariadb/README.md
index c8ff816..447fcff 100644
--- a/Services/mariadb/README.md
+++ b/Services/mariadb/README.md
@@ -25,9 +25,12 @@ Build the container
docker run -d -p 3306:3306 --name="mariadb" sv-mariadb
## Accessing server
-
+access to the running database
mysql -h localhost -p 3306
+access to the container itself
+ docker exec -it mariadb bash
+
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/mariadb)
* [Github STARTX profile](https://github.com/startxfr/docker-images)
diff --git a/Services/memcache/README.md b/Services/memcache/README.md
index 3b200c2..16124e9 100644
--- a/Services/memcache/README.md
+++ b/Services/memcache/README.md
@@ -24,6 +24,11 @@ Build the container
docker run -d -p 11211:11211 --name="memcache" sv-memcache
+## Accessing server
+
+access to the container itself
+ docker exec -it memcache bash
+
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/memcache)
* [Github STARTX profile](https://github.com/startxfr/docker-images)
diff --git a/Services/mongo/README.md b/Services/mongo/README.md
index fa40312..41d4670 100644
--- a/Services/mongo/README.md
+++ b/Services/mongo/README.md
@@ -25,9 +25,12 @@ Build the container
docker run -d -p 27017:27017 --name="mongo" sv-mongo
## Accessing server
-
+access to the running database
mongo -h localhost -p 27017
+access to the container itself
+ docker exec -it mongo bash
+
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/mongo)
* [Github STARTX profile](https://github.com/startxfr/docker-images)
diff --git a/Services/nodejs/README.md b/Services/nodejs/README.md
index 6045051..f903a64 100644
--- a/Services/nodejs/README.md
+++ b/Services/nodejs/README.md
@@ -22,9 +22,12 @@ Build the container
docker run -d -p 8000:8000 --name="nodejs" sv-nodejs
## Accessing server
-
+access to the running webserver
firefox http://localhost:8000
+access to the container itself
+ docker exec -it nodejs bash
+
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/nodejs)
* [Github STARTX profile](https://github.com/startxfr/docker-images)
diff --git a/Services/php/README.md b/Services/php/README.md
index 74bdae3..e4ed6f6 100644
--- a/Services/php/README.md
+++ b/Services/php/README.md
@@ -22,8 +22,11 @@ Build the container
docker run -d -p 80:80 --name="php" sv-php
## Accessing server
+access to the running webserver
+ firefox http://localhost:80
- firefox http://localhost
+access to the container itself
+ docker exec -it php bash
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/php)
diff --git a/Services/postgres/README.md b/Services/postgres/README.md
index 9268f9d..44a9a65 100644
--- a/Services/postgres/README.md
+++ b/Services/postgres/README.md
@@ -25,9 +25,12 @@ Build the container
docker run -d -p 5432:5432 --name="postgres" sv-postgres
## Accessing server
-
+access to the running database
psql -U postgres -h localhost -p 5432
+access to the container itself
+ docker exec -it mongo bash
+
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/postgres)
* [Github STARTX profile](https://github.com/startxfr/docker-images)
diff --git a/Services/ssh/README.md b/Services/ssh/README.md
index efd96f1..7f68c79 100644
--- a/Services/ssh/README.md
+++ b/Services/ssh/README.md
@@ -22,8 +22,11 @@ Build the container
docker run -d -p 22022:22 --name="ssh" sv-ssh
## Accessing server
+access to the running server
+ ssh -p 22022 root@localhost
- ssh -p 22022 root@<containerId>
+access to the container itself
+ docker exec -it ssh bash
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/ssh)