Docker for Mac uses Hyperkit as the VM so it's likely you have no idea how to get into the VM. Not likely you really need to either. But in the case you do need to get on that VM, here is how...
screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
ctrl+a then press k