zoukankan      html  css  js  c++  java
  • windows10下安装docker报错:error during connect

    详细报错信息如下:

    C:Userszig>docker info
    error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/info: 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.

    修改方法:

    cd "C:Program FilesDockerDocker"
    ./DockerCli.exe -SwitchDaemon

    原因:Especially on windows machine when you see the above error after a docker update, try the above commands. It appears like the Docker Desktop UI may indicate that you are already using Linux Containers, but the update may have messed up that setting. Running the above commands will set to Linux Containers and there after you can work happily.

    大概意思就是默认使用的是Linux Containers,使用这个命令后改为Windows Containers就好了。(不知道翻译的对不对,哈哈哈)

    具体原因还没有搞清楚,希望大神来补充呀

  • 相关阅读:
    深度学习
    定义一个变长数组和常量引用参数
    深度神经网络tricks and tips
    PCA whitening
    反向传播
    激活函数
    C++中模板的使用
    数据结构 (二叉树)1
    C++中的函数指针和函数对象总结
    从头到尾彻底解析Hash表算法
  • 原文地址:https://www.cnblogs.com/valu/p/11731294.html
Copyright © 2011-2022 走看看