From d8a6bb4736e42b32bea012d14e5ba91fc1d1e69b Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 11:14:47 +0100 Subject: modif de code example dans les readme --- Services/mongo/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Services/mongo') 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) -- cgit v1.2.3