From 3cb99aeec1df3eeec0441902f7c3117bfb855095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amine=20Da=C3=AF?= Date: Fri, 29 Sep 2017 21:55:13 +0200 Subject: [PATCH] Fix references to vm.max_map_count in Docker docs This commit fixes some references to vm.max_map_count in the Docker docs. Relates #26798 --- docs/reference/setup/install/docker.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference/setup/install/docker.asciidoc b/docs/reference/setup/install/docker.asciidoc index 017aae35003..db5518694ab 100644 --- a/docs/reference/setup/install/docker.asciidoc +++ b/docs/reference/setup/install/docker.asciidoc @@ -61,12 +61,12 @@ endif::[] [IMPORTANT] ========================= -The `vm_max_map_count` kernel setting needs to be set to at least `262144` for production use. +The `vm.max_map_count` kernel setting needs to be set to at least `262144` for production use. Depending on your platform: * Linux + -The `vm_map_max_count` setting should be set permanently in /etc/sysctl.conf: +The `vm.max_map_count` setting should be set permanently in /etc/sysctl.conf: + [source,sh] -------------------------------------------- @@ -78,7 +78,7 @@ To apply the setting on a live system type: `sysctl -w vm.max_map_count=262144` + * OSX with https://docs.docker.com/engine/installation/mac/#/docker-for-mac[Docker for Mac] + -The `vm_max_map_count` setting must be set within the xhyve virtual machine: +The `vm.max_map_count` setting must be set within the xhyve virtual machine: + ["source","sh"] -------------------------------------------- @@ -95,7 +95,7 @@ sysctl -w vm.max_map_count=262144 + * OSX with https://docs.docker.com/engine/installation/mac/#docker-toolbox[Docker Toolbox] + -The `vm_max_map_count` setting must be set via docker-machine: +The `vm.max_map_count` setting must be set via docker-machine: + ["source","sh"] --------------------------------------------