

Quit with CTRL-D, which will also close the socat socket. The VM is a very stripped down Alpine image with no package manager available, so you’ll have to make do with what is available. So that will look something like this: $ socat -d -d ~/Library/Containers//Data/debug-shell.sock pty,rawerĢ 21:28:43 socat N opening connection to LEN=73 AF=1 "/Users/simon/Library/Containers//Data/debug-shell.sock"Ģ 21:28:43 socat N successfully connected from local address LEN=16 AF=1 ""Ģ 21:28:43 socat N successfully connected viaĢ 21:28:43 socat N PTY is /dev/ttys010Ģ 21:28:43 socat N starting data transfer loop with FDs and I like docker-sync in that getting back to. To display these valuable logs, you can use a range of Docker log commands. To access it from a remote system, you must create an SSH tunnel that routes requests to the Web server from 127.0.0.1.
DOCKER FOR MAC SSH TO CONTAINER CODE
Editing the code in the container via SSH plus Vim or Emacs Why I Wasn’t Satisfied. Therefore, you wont see any logging or other output from your Docker container.

socat will print the line “ PTY is /dev/ttys010“, to which you can then connect to using screen on another terminal window: Docker for Mac: Overcoming Slow Mounted Volumes For about two years.

$ socat -d -d ~/Library/Containers//Data/debug-shell.sock pty,rawer
