Windows USES docker to open a new window error solution

  • 2020-06-23 02:27:55
  • OfStack


error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.26/containers/json: open 
//./pipe/docker_engine: The system cannot find the file specified. In the default daemon 
configuration on Windows, the docker client must be run elevated to connect. This error may
also indicate that the docker daemon is not running.

Solution: Execute after opening a new window


@FOR /f "tokens=*" %i IN ('docker-machine env default') DO @%i

default is the name of ES6en-ES7en, which can be viewed through ES9en-ES10en-ES11en

conclusion

Above is this site to share with you Windows using docker to open a new window error solution, hope to help you, interested friends can see: details of Docker Linux iptables and Interfaces management container network, Docker security mechanism kernel security and network security between the container, etc. Hope friends to this site more support!


Related articles: