From 481bd7633f05750d49b72aa58bdc4603d511eb28 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Fri, 16 Aug 2019 23:15:28 +0000 Subject: [PATCH] Run update.sh --- mongo/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mongo/README.md b/mongo/README.md index b35cba19f..53f5c9e71 100644 --- a/mongo/README.md +++ b/mongo/README.md @@ -162,10 +162,10 @@ See the [MongoDB manual](https://docs.mongodb.com/manual/) for information on us ## Customize configuration without configuration file -Most MongoDB configuration can be set through flags to `mongod`. The entrypoint of the image is created to pass its arguments along to `mongod`. See below an example of setting MongoDB to use a [smaller default file size](https://docs.mongodb.com/manual/reference/program/mongod/#cmdoption-mongod-smallfiles) via `docker run`. +Most MongoDB configuration can be set through flags to `mongod`. The entrypoint of the image is created to pass its arguments along to `mongod`. See below an example of setting MongoDB to use a different [threading and execution model](https://docs.mongodb.com/manual/reference/program/mongod/#cmdoption-mongod-serviceexecutor) via `docker run`. ```console -$ docker run --name some-mongo -d mongo --smallfiles +$ docker run --name some-mongo -d mongo --serviceExecutor adaptive ``` And here is the same with a `docker-compose.yml` file @@ -175,7 +175,7 @@ version: '3.1' services: mongo: image: mongo - command: --smallfiles + command: --serviceExecutor adaptive ``` To see the full list of possible options, check the MongoDB manual on [`mongod`](https://docs.mongodb.com/manual/reference/program/mongod/) or check the `--help` output of `mongod`: