From df45a3a0b4fb5f35e374ac247882305b2c7d761b Mon Sep 17 00:00:00 2001 From: "yong.liu" Date: Thu, 6 Sep 2018 14:27:26 +0800 Subject: [PATCH] Fix typo in mongo description --- mongo/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongo/content.md b/mongo/content.md index 7c66ef039..e65818a4e 100644 --- a/mongo/content.md +++ b/mongo/content.md @@ -20,7 +20,7 @@ $ docker run --name some-%%REPO%% -d %%IMAGE%%:tag ## Connect to MongoDB from another Docker container -The MongoDB server in the image listens on the standard MongoDB port, `27017`, so connecting via container linking or Docker networks will be the be the same as connecting to a remote `mongod`. The following example starts another MongoDB container instance and runs the `mongo` command line client against the original MongoDB container from the example above, allowing you to execute MongoDB statements against your database instance: +The MongoDB server in the image listens on the standard MongoDB port, `27017`, so connecting via container linking or Docker networks will be the same as connecting to a remote `mongod`. The following example starts another MongoDB container instance and runs the `mongo` command line client against the original MongoDB container from the example above, allowing you to execute MongoDB statements against your database instance: ```console $ docker run -it --link some-%%REPO%%:mongo --rm %%IMAGE%% mongo --host mongo test