diff options
author | startxfr <clarue@startx.fr> | 2014-11-20 11:14:47 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2014-11-20 11:14:47 +0100 |
commit | d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b (patch) | |
tree | 9c5861e5481d6ab4580ac016232a2639997155ac /Services | |
parent | 910a26141f16336c96e304ebe850a4e5a0f97f95 (diff) | |
download | phpmyadmin-d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b.tar.gz phpmyadmin-d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b.tar.bz2 phpmyadmin-d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b.tar.xz phpmyadmin-d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b.zip |
modif de code example dans les readme
Diffstat (limited to 'Services')
-rw-r--r-- | Services/apache/README.md | 6 | ||||
-rw-r--r-- | Services/mariadb/README.md | 12 | ||||
-rw-r--r-- | Services/memcache/README.md | 10 | ||||
-rw-r--r-- | Services/mongo/README.md | 12 | ||||
-rw-r--r-- | Services/nodejs/README.md | 6 | ||||
-rw-r--r-- | Services/php/README.md | 6 | ||||
-rw-r--r-- | Services/postgres/README.md | 12 | ||||
-rw-r--r-- | Services/ssh/README.md | 6 |
8 files changed, 35 insertions, 35 deletions
diff --git a/Services/apache/README.md b/Services/apache/README.md index b8c3a0e..731c237 100644 --- a/Services/apache/README.md +++ b/Services/apache/README.md @@ -3,7 +3,7 @@ This container run apache on fedora server. ## Running from docker registry - # docker run -d -p 80:80 --name="apache" startx/sv-apache + docker run -d -p 80:80 --name="apache" startx/sv-apache ## Build and run from local Dockerfile ### Building docker image @@ -19,11 +19,11 @@ and build the container ### Running local image - # docker run -d -p 80:80 --name="apache" sv-apache + docker run -d -p 80:80 --name="apache" sv-apache ## Accessing server - # firefox http://localhost + firefox http://localhost ## 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 12c142b..9f41adf 100644 --- a/Services/mariadb/README.md +++ b/Services/mariadb/README.md @@ -3,10 +3,10 @@ This container run mariadb on fedora server. ## Running from docker registry - # docker run -d -p 3306:3306 --name="mariadb" startx/sv-mariadb - # when linked to another container - # docker run -d --name="mariadb" startx/sv-mariadb - # docker run -d --name="php" --link mariadb:mariadb startx/sv-php + docker run -d -p 3306:3306 --name="mariadb" startx/sv-mariadb + when linked to another container + docker run -d --name="mariadb" startx/sv-mariadb + docker run -d --name="php" --link mariadb:mariadb startx/sv-php ## Build and run from local Dockerfile ### Building docker image @@ -22,11 +22,11 @@ and build the container ### Running local image - # docker run -d -p 3306:3306 --name="mariadb" sv-mariadb + docker run -d -p 3306:3306 --name="mariadb" sv-mariadb ## Accessing server - # mysql -h localhost -p 3306 + mysql -h localhost -p 3306 ## Related Resources * [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/mariadb) diff --git a/Services/memcache/README.md b/Services/memcache/README.md index d76d05d..bae6b2a 100644 --- a/Services/memcache/README.md +++ b/Services/memcache/README.md @@ -3,10 +3,10 @@ This container run memcached on fedora server. ## Running from docker registry - # docker run -d -p 3306:3306 --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 + docker run -d -p 3306:3306 --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 ## Build and run from local Dockerfile ### Building docker image @@ -22,7 +22,7 @@ and build the container ### Running local image - # docker run -d -p 3306:3306 --name="memcache" sv-memcache + docker run -d -p 3306:3306 --name="memcache" sv-memcache ## Related Resources * [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/memcache) diff --git a/Services/mongo/README.md b/Services/mongo/README.md index 0e1a2b8..1007bae 100644 --- a/Services/mongo/README.md +++ b/Services/mongo/README.md @@ -3,10 +3,10 @@ This container run mongod on fedora server. ## Running from docker registry - # docker run -d -p 27017:27017 --name="mongo" startx/sv-mongo - # when linked to another container - # docker run -d --name="mongo" startx/sv-mongo - # docker run -d --name="php" --link mongo:mongo startx/sv-php + docker run -d -p 27017:27017 --name="mongo" startx/sv-mongo + when linked to another container + docker run -d --name="mongo" startx/sv-mongo + docker run -d --name="php" --link mongo:mongo startx/sv-php ## Build and run from local Dockerfile ### Building docker image @@ -22,11 +22,11 @@ and build the container ### Running local image - # docker run -d -p 27017:27017 --name="mongo" sv-mongo + docker run -d -p 27017:27017 --name="mongo" sv-mongo ## Accessing server - # mongo -h localhost -p 27017 + mongo -h localhost -p 27017 ## Related Resources * [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/mongo) diff --git a/Services/nodejs/README.md b/Services/nodejs/README.md index d9ce4e5..44d4246 100644 --- a/Services/nodejs/README.md +++ b/Services/nodejs/README.md @@ -3,7 +3,7 @@ This container run nodejs on fedora server. ## Running from docker registry - # docker run -d -p 8000:8000 --name="nodejs" startx/sv-nodejs + docker run -d -p 8000:8000 --name="nodejs" startx/sv-nodejs ## Build and run from local Dockerfile ### Building docker image @@ -19,11 +19,11 @@ and build the container ### Running local image - # docker run -d -p 8000:8000 --name="nodejs" sv-nodejs + docker run -d -p 8000:8000 --name="nodejs" sv-nodejs ## Accessing server - # firefox http://localhost:8000 + firefox http://localhost:8000 ## Related Resources * [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/nodejs) diff --git a/Services/php/README.md b/Services/php/README.md index 1da6266..c76aed1 100644 --- a/Services/php/README.md +++ b/Services/php/README.md @@ -3,7 +3,7 @@ This container run php via apache on fedora server. ## Running from docker registry - # docker run -d -p 80:80 --name="php" startx/sv-php + docker run -d -p 80:80 --name="php" startx/sv-php ## Build and run from local Dockerfile ### Building docker image @@ -19,11 +19,11 @@ and build the container ### Running local image - # docker run -d -p 80:80 --name="php" sv-php + docker run -d -p 80:80 --name="php" sv-php ## Accessing server - # firefox http://localhost + firefox http://localhost ## 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 40881af..5043438 100644 --- a/Services/postgres/README.md +++ b/Services/postgres/README.md @@ -3,10 +3,10 @@ This container run postgres on fedora server. ## Running from docker registry - # docker run -d -p 5432:5432 --name="postgres" startx/sv-postgres - # when linked to another container - # docker run -d --name="postgres" startx/sv-postgres - # docker run -d --name="php" --link postgres:postgres startx/sv-php + docker run -d -p 5432:5432 --name="postgres" startx/sv-postgres + when linked to another container + docker run -d --name="postgres" startx/sv-postgres + docker run -d --name="php" --link postgres:postgres startx/sv-php ## Build and run from local Dockerfile ### Building docker image @@ -22,11 +22,11 @@ and build the container ### Running local image - # docker run -d -p 5432:5432 --name="postgres" sv-postgres + docker run -d -p 5432:5432 --name="postgres" sv-postgres ## Accessing server - # psql -U postgres -h localhost -p 5432 + psql -U postgres -h localhost -p 5432 ## Related Resources * [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/postgres) diff --git a/Services/ssh/README.md b/Services/ssh/README.md index 6f73ac4..8253ec6 100644 --- a/Services/ssh/README.md +++ b/Services/ssh/README.md @@ -3,7 +3,7 @@ This container run sshd on fedora server. You can overwrite /root/.ssh/autorized ## Running from docker registry - # docker run -d -p 22022:22 --name="ssh" startx/sv-ssh + docker run -d -p 22022:22 --name="ssh" startx/sv-ssh ## Build and run from local Dockerfile ### Building docker image @@ -19,11 +19,11 @@ and build the container ### Running local image - # docker run -d -p 22022:22 --name="ssh" sv-ssh + docker run -d -p 22022:22 --name="ssh" sv-ssh ## Accessing server - # ssh -p 22022 root@<containerId> + ssh -p 22022 root@<containerId> ## Related Resources * [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/ssh) |