Docker Community Forums

Share and learn in the Docker community.

Accessing the linux host machine with Docker for Mac


(Unilynx) #1

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.


(Josh Reichardt) #2

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.


(Unilynx) #3

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…