diff options
Diffstat (limited to 'Services/mongo')
-rw-r--r-- | Services/mongo/README.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Services/mongo/README.md b/Services/mongo/README.md index ae5d542..d866d9b 100644 --- a/Services/mongo/README.md +++ b/Services/mongo/README.md @@ -11,15 +11,15 @@ This container run mongod on fedora server. ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t sv-mongo Services/mongo/ - +``` +docker build -t sv-mongo Services/mongo/ +``` ### Running local image docker run -d -p 27017:27017 --name="mongo" sv-mongo |