jasonc/nsenter1
nsenter - run program with namespaces of other processes.
25
Run the following command on Mac to connect to the VM running Docker. This also works for Docker for Windows, but doesn't work for Windows Containers.
docker run -it --rm --privileged --pid=host jasonc/nsenter1
docker pull jasonc/nsenter1