From c9e5041409c22aaa104b4cf536afcaf38d1a449a Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 5 Feb 2019 22:10:25 +0000 Subject: [PATCH] Run update.sh --- mongo/README.md | 12 ++++++++++++ photon/README.md | 2 +- sl/README.md | 2 +- telegraf/README.md | 12 ++++++------ 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/mongo/README.md b/mongo/README.md index 5130aa5b7..31aed36ce 100644 --- a/mongo/README.md +++ b/mongo/README.md @@ -199,6 +199,18 @@ To see the full list of possible options, check the MongoDB manual on [`mongod`] $ docker run -it --rm mongo --help ``` +## Setting WiredTiger cache size limits + +By default Mongo will set the `wiredTigerCacheSizeGB` to a value proportional to the host's total memory regardless of memory limits you may have imposed on the container. In such an instance you will want to set the cache size to something appropriate, taking into account any other processes you may be running in the container which would also utilize memory. + +Taking the examples above you can configure the cache size to use 1.5GB as: + +```console +$ docker run --name some-mongo -d mongo --wiredTigerCacheSizeGB 1.5 +``` + +See [the upstream "WiredTiger Options" documentation](https://docs.mongodb.com/manual/reference/program/mongod/#wiredtiger-options) for more details. + ## Using a custom MongoDB configuration file For a more complicated configuration setup, you can still use the MongoDB configuration file. `mongod` does not read a configuration file by default, so the `--config` option with the path to the configuration file needs to be specified. Create a custom configuration file and put it in the container by either creating a custom Dockerfile `FROM mongo` or mounting it from the host machine to the container. See the MongoDB manual for a full list of [configuration file](https://docs.mongodb.com/manual/reference/configuration-options/) options. diff --git a/photon/README.md b/photon/README.md index 589ab2448..8bb41d6ae 100644 --- a/photon/README.md +++ b/photon/README.md @@ -17,7 +17,7 @@ WARNING: # Supported tags and respective `Dockerfile` links - [`2.0`, `2.0-20190122`, `latest` (*docker/Dockerfile*)](https://github.com/vmware/photon-docker-image/blob/603208264f009fb09955c907c91797b2f458e681/docker/Dockerfile) -- [`1.0`, `1.0-20190125` (*docker/Dockerfile*)](https://github.com/vmware/photon-docker-image/blob/f5aac1099165edd91953f54e93bccb2707aca253/docker/Dockerfile) +- [`1.0`, `1.0-20190204` (*docker/Dockerfile*)](https://github.com/vmware/photon-docker-image/blob/bc5ded95dfeb3ed2e2e2e96b25eba7023ae0b445/docker/Dockerfile) - [`dev`, `dev-20180904` (*docker/Dockerfile*)](https://github.com/vmware/photon-docker-image/blob/ef64980d07a68bd0cd97de9224df5c3e62e4db12/docker/Dockerfile) - [`3.0`, `3.0-20181218` (*docker/Dockerfile*)](https://github.com/vmware/photon-docker-image/blob/00aef9fc83c54c5766641736bbd91b6842a02394/docker/Dockerfile) diff --git a/sl/README.md b/sl/README.md index 251cdf6a8..2d6aeb16c 100644 --- a/sl/README.md +++ b/sl/README.md @@ -17,7 +17,7 @@ WARNING: # Supported tags and respective `Dockerfile` links - [`7`, `latest` (*sl7/Dockerfile*)](https://github.com/scientificlinux/sl-docker/blob/f9b2676de2c0c6258a2016f5e844a073a442d27d/sl7/Dockerfile) -- [`6` (*sl6/Dockerfile*)](https://github.com/scientificlinux/sl-docker/blob/53e0b1d1819c45868d2ede8accd285c3f164d038/sl6/Dockerfile) +- [`6` (*sl6/Dockerfile*)](https://github.com/scientificlinux/sl-docker/blob/d869ef8987d92b2e4616b79ab64c2497ac46a16f/sl6/Dockerfile) # Quick reference diff --git a/telegraf/README.md b/telegraf/README.md index fcf69de64..036c9bcf3 100644 --- a/telegraf/README.md +++ b/telegraf/README.md @@ -16,12 +16,12 @@ WARNING: # Supported tags and respective `Dockerfile` links -- [`1.7`, `1.7.4` (*telegraf/1.7/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/45512fec04dc474ec7242ba48646c86edfd81e93/telegraf/1.7/Dockerfile) -- [`1.7-alpine`, `1.7.4-alpine` (*telegraf/1.7/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/45512fec04dc474ec7242ba48646c86edfd81e93/telegraf/1.7/alpine/Dockerfile) -- [`1.8`, `1.8.3` (*telegraf/1.8/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/45512fec04dc474ec7242ba48646c86edfd81e93/telegraf/1.8/Dockerfile) -- [`1.8-alpine`, `1.8.3-alpine` (*telegraf/1.8/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/45512fec04dc474ec7242ba48646c86edfd81e93/telegraf/1.8/alpine/Dockerfile) -- [`1.9`, `1.9.3`, `latest` (*telegraf/1.9/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/45512fec04dc474ec7242ba48646c86edfd81e93/telegraf/1.9/Dockerfile) -- [`1.9-alpine`, `1.9.3-alpine`, `alpine` (*telegraf/1.9/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/45512fec04dc474ec7242ba48646c86edfd81e93/telegraf/1.9/alpine/Dockerfile) +- [`1.7`, `1.7.4` (*telegraf/1.7/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/b0489b9647b76a9faa84fa8675b21255f980bb70/telegraf/1.7/Dockerfile) +- [`1.7-alpine`, `1.7.4-alpine` (*telegraf/1.7/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/b0489b9647b76a9faa84fa8675b21255f980bb70/telegraf/1.7/alpine/Dockerfile) +- [`1.8`, `1.8.3` (*telegraf/1.8/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/b0489b9647b76a9faa84fa8675b21255f980bb70/telegraf/1.8/Dockerfile) +- [`1.8-alpine`, `1.8.3-alpine` (*telegraf/1.8/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/b0489b9647b76a9faa84fa8675b21255f980bb70/telegraf/1.8/alpine/Dockerfile) +- [`1.9`, `1.9.4`, `latest` (*telegraf/1.9/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/b0489b9647b76a9faa84fa8675b21255f980bb70/telegraf/1.9/Dockerfile) +- [`1.9-alpine`, `1.9.4-alpine`, `alpine` (*telegraf/1.9/alpine/Dockerfile*)](https://github.com/influxdata/influxdata-docker/blob/b0489b9647b76a9faa84fa8675b21255f980bb70/telegraf/1.9/alpine/Dockerfile) # Quick reference