Can't open docker in two windows
我想大声告诉你
我想大声告诉你 2017-05-24 11:32:58
0
1
950

As shown in the picture, an error is reported when entering docker ps in the second window. Is this a weird situation?

我想大声告诉你
我想大声告诉你

reply all(1)
Peter_Zhu

1.Explanation

1. Please learn in detail how docker runs on windows and macos.

2. Learn more about the working principle of docker-machine

2. How to solve the problem

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template