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
This commit is contained in:
Amine Daï 2017-09-29 21:55:13 +02:00 committed by Jason Tedor
parent 37453eef6f
commit 3cb99aeec1
1 changed files with 4 additions and 4 deletions

View File

@ -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"]
--------------------------------------------