brew install socat ssh -U ~/Library/Containers/com.docker.docker/Data/debug-shell.sock socat -d -d ~/Library/Containers/com.docker.docker/Data/debug-shell.sock pty,rawer https://blog.csdn.net/weixin_34261739/article/details/89050333 The Docker Engine uses Linux-specific kernel features, so to run it on OS X we need to use a lightweight virtual machine (vm). You use the OS X Docker client to control the virtualized Docker Engine to build, run, and manage Docker containers.