diff options
author | Fred Lifton <fred.lifton@docker.com> | 2014-08-27 09:05:02 -0700 |
---|---|---|
committer | Fred Lifton <fred.lifton@docker.com> | 2014-08-27 09:05:02 -0700 |
commit | aba575c7546ba7d2914f0c3b8b3450667b3959ac (patch) | |
tree | d0158f0eab4b9710815c1a87e2ef3699e5185205 /docs/sources/examples/mongodb.md | |
parent | 4b54484843eacf6ce57d2fc16e6aacc70d964041 (diff) | |
parent | 7565cb309988345f9ed9daba87052f2bba116033 (diff) | |
download | docker-docs-1.1.tar.gz |
Merge pull request #7755 from SvenDowideit/post-1.1.2-docs-update-1docs-1.1
Post 1.1.2 docs update 1
Diffstat (limited to 'docs/sources/examples/mongodb.md')
-rw-r--r-- | docs/sources/examples/mongodb.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/sources/examples/mongodb.md b/docs/sources/examples/mongodb.md index 602f55ca88..28f7824594 100644 --- a/docs/sources/examples/mongodb.md +++ b/docs/sources/examples/mongodb.md @@ -65,13 +65,12 @@ a MongoDB repository file for the package manager. After this initial preparation we can update our packages and install MongoDB. # Update apt-get sources AND install MongoDB - RUN apt-get update - RUN apt-get install -y -q mongodb-org + RUN apt-get update && apt-get install -y mongodb-org > **Tip:** You can install a specific version of MongoDB by using a list > of required packages with versions, e.g.: > -> RUN apt-get install -y -q mongodb-org=2.6.1 mongodb-org-server=2.6.1 mongodb-org-shell=2.6.1 mongodb-org-mongos=2.6.1 mongodb-org-tools=2.6.1 +> RUN apt-get update && apt-get install -y mongodb-org=2.6.1 mongodb-org-server=2.6.1 mongodb-org-shell=2.6.1 mongodb-org-mongos=2.6.1 mongodb-org-tools=2.6.1 MongoDB requires a data directory. Let's create it as the final step of our installation instructions. |