zoukankan      html  css  js  c++  java
  • Docker中的error during connect异常情况2

    今天在我的一台 WIN10 电脑上又遇到了 error during connect 的问题,真是烦人精。

    C:UsersAdministrator>docker ps
    error during connect: In the default daemon configuration on Windows, 
    the docker client must be run with elevated privileges to connect.: 
    Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json": 
    open //./pipe/docker_engine: The system cannot find the file specified.
    

    重点是 the docker client must be run with elevated privileges to connect.,Docker 客户端必须以特权连接!

    以管理员身份运行

    接着你再输入docker ps命令就可以正常访问了:

    PS:网上很多文章都说让切换到 Windows Container,个人不太认同这种做法,因为这可能会导致 docker search 找不到某些镜像。因为镜像还和 Windows 或者 Linux 环境有关系。

    参考博客

    docker client must be run with elevated privileges to connect 阅读

  • 相关阅读:
    这之后的事。。。
    POJ
    POJ
    博客园的装饰
    高斯消元
    逆序数技巧
    各种小的 dp (精)
    最大区间和变形
    树dp 统计异或值
    dp
  • 原文地址:https://www.cnblogs.com/kendoziyu/p/15117449.html
Copyright © 2011-2022 走看看