Skip to content

Instantly share code, notes, and snippets.

@daverigby
Last active November 1, 2016 19:01
Show Gist options
  • Save daverigby/046f8f677f0a35ad2b155986bdd4b6f2 to your computer and use it in GitHub Desktop.
Save daverigby/046f8f677f0a35ad2b155986bdd4b6f2 to your computer and use it in GitHub Desktop.
Docker for Mac: Get host ssh access
Because I was having a similar issue I thought I'd put this here for posterity's sake.
To 'login' (attach to a screen session) in docker for mac you do,
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
login with 'root' no password.
set whatever sysctl setting you need to modify. I had to set max_user_watches for inotify.
fs.inotify.max_user_watches = 524288
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment