Skip to content

Commit 5f389ea

Browse files
committed
[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
1 parent 99411b9 commit 5f389ea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/reference/setup/install/docker.asciidoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,10 @@ The `vm.max_map_count` setting must be set within the xhyve virtual machine:
9494
9595
["source","sh"]
9696
--------------------------------------------
97-
$ screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
97+
$ screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
9898
--------------------------------------------
9999
100-
Log in with 'root' and no password.
101-
Then configure the `sysctl` setting as you would for Linux:
100+
Just press enter and configure the `sysctl` setting as you would for Linux:
102101
103102
["source","sh"]
104103
--------------------------------------------

0 commit comments

Comments
 (0)