Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 420 Bytes

SSH-to-docker-host-in-Docker-for-Mac.md

File metadata and controls

16 lines (9 loc) · 420 Bytes
  • Date : 2018-12-03
  • Tags : #docker #mac

SSH to docker host in Docker for Mac

When you need to debug the docker host of your docker server inside macOS. You can connect to its tty screen by

$ screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty

Then type ENTER to enter the screen and start debugging docker host.

To disconnect the screen, press "Ctrl + A > Ctrl + " and confirm "yes".