From da24c283afeeb8087b92c2f463ffe5cc73df0c29 Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 17:00:41 +0100 Subject: modif de code example dans les readme --- Services/apache/README.md | 5 ++++- Services/mariadb/README.md | 5 ++++- Services/memcache/README.md | 5 +++++ Services/mongo/README.md | 5 ++++- Services/nodejs/README.md | 5 ++++- Services/php/README.md | 5 ++++- Services/postgres/README.md | 5 ++++- Services/ssh/README.md | 5 ++++- 8 files changed, 33 insertions(+), 7 deletions(-) (limited to 'Services') 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@ +access to the container itself + docker exec -it ssh bash ## Related Resources * [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/ssh) -- cgit v1.2.3