[DOCS] Update sysctl instructions for Docker on Mac (#35755)

Recent Docker for Mac releases[1] have a different path to the tty for
accessing the console of the xhyve vm, required for altering the
`vm.max_map_count` sysctl.

Update instructions on how to enter the xhyve vm for altering the
`vm.max_map_count` sysctl setting on Docker for Mac.

Closes #34817 

[1]
https://forums.docker.com/t/is-it-possible-to-ssh-to-the-xhyve-machine/17426/13
This commit is contained in:
Dimitrios Liappis 2018-11-21 11:32:29 +02:00 committed by GitHub
parent 6638708b56
commit 1cb578b435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -93,11 +93,10 @@ The `vm.max_map_count` setting must be set within the xhyve virtual machine:
["source","sh"] ["source","sh"]
-------------------------------------------- --------------------------------------------
$ screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty $ screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
-------------------------------------------- --------------------------------------------
Log in with 'root' and no password. Just press enter and configure the `sysctl` setting as you would for Linux:
Then configure the `sysctl` setting as you would for Linux:
["source","sh"] ["source","sh"]
-------------------------------------------- --------------------------------------------