Skip to content

Commit 1cb578b

Browse files
authored
[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 6638708 commit 1cb578b

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
@@ -93,11 +93,10 @@ The `vm.max_map_count` setting must be set within the xhyve virtual machine:
9393
9494
["source","sh"]
9595
--------------------------------------------
96-
$ screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
96+
$ screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
9797
--------------------------------------------
9898
99-
Log in with 'root' and no password.
100-
Then configure the `sysctl` setting as you would for Linux:
99+
Just press enter and configure the `sysctl` setting as you would for Linux:
101100
102101
["source","sh"]
103102
--------------------------------------------

0 commit comments

Comments
 (0)