当前位置: 首页 > news >正文

Windows 上 执行docker pull命令 提示:The system cannot find the file specified.

错误提示

error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified.

解决办法

在cmd 窗口中执行如下命令

cd C:\Program Files\Docker\Docker

DockerCli.exe -SwitchDaemon

重新打开一个cmd窗口,然后再次执行docker pull 得相关命令,一切正常

原因分析

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.

翻译一下:

特别是在windows machine上,当您在docker更新后看到上述错误时,请尝试上述命令。

看起来Docker Desktop UI可能表明您已经在使用Linux容器,但更新可能会弄乱该设置。

运行上述命令将设置为Linux容器,然后您就可以愉快地工作了。

http://www.lryc.cn/news/33329.html

相关文章:

  • 查看 WiFi 密码的两种方法
  • 逻辑优化基础-bi-decomposition
  • Modbus转profinet网关连接1200PLC在博图组态与驱动器通讯程序案例
  • Android ART虚拟机 启动和初始化
  • 宇视科技一二三面
  • 优思学院|盘点,精益生产25个工具!【必需收藏】
  • Linux中将多块新硬盘合并成一个,挂载到/mysqldata目录下
  • Git的SSH密钥配置
  • C++回顾(九)——多继承
  • 交流约瑟夫森效应
  • 大数据项目实战之数据仓库:用户行为采集平台——第3章 用户行为日志
  • centos6下为Rstudio安装多版本R
  • TCL 拥抱云原生,实现 IT 成本治理优化
  • 什么是API接口
  • 基于单片机的波形发生器设计
  • phpmyadmin SQL注入 (CVE-2020-5504)
  • 华为机试题:HJ107 求解立方根(python)
  • 论文公式符号规范
  • 哈工大面向服务的软件系统 期末开卷提纲
  • Adding Conditional Control to Text-to-Image Diffusion Models
  • C++从头再来:知识点速通
  • LearnDash Groups学习群组:您需要了解的一切
  • 软件开发过程中遇到一个傻嘚业主能让你抓狂
  • 信创系统借力小程序应用生态的可能性
  • ISFP型人格的优势和劣势分析(mbti性格测试)
  • 电影《断网》观后感
  • 查看python第三方库的依赖pkgs
  • CF756div3 vp
  • Linux命令·less
  • 修改redis改key值不改过期时间