Accessing the linux host machine with Docker for Mac

Is there any way to access the ‘host’ machine which docker on mac uses to run the actual docker daemon and containers? I’m experiencing lockups of docker (API not responsing, all docker client calls hang) under heavy I/O, and getting access to ‘/proc’, ‘lsof’ or ‘dmesg’ on the host would hopefully help me to isolate the issue.

Try https://github.com/fntlnz/doenter. Although, I think the VM might be read only so I don’t know how far you’ll get.

Thanks, that worked. Actually, the nsenter suggestion in that project was already sufficient.

At least now I know I got stuck on /proc/nnnn/cmdline…