As shown in the picture, an error is reported when entering docker ps in the second window. Is this a weird situation?
天蓬老师2017-05-24 11:34:58
1. Please learn in detail how docker runs on windows and macos.
2. Learn more about the working principle of docker-machine
1. To access docker under windows, you need to use a window similar to gitbash, which contains the docker-machine link and the environment variable env of the default docker operating system boot2docker.
2. You cannot play like this under cmd, but you can use it
$docker-machine.exe ssh default
Link to the default host like this
3. Use the desktop icon Docker Quickstart Terminal to open
View the environment variables
$env | grep docker
4. See more Docs below