Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

get an error when do 'docker run': C:\Program Files\Docker\Docker\resources\bin\docker.exe: Error response from daemon: hcsshim::PrepareLayer - failed failed in Win32: The device is not ready. (0x15).

未关闭
#1,425 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
18/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
docker, go

调研方向

从报告的 docker info 输出以及 Windows Server 2019 上的 hcsshim::PrepareLayer 错误开始,然后追踪 hcsshim 针对该故障的相关处理。完成这项工作需要识别所涉及的资源或子系统,并确定是否可以在不重启 Docker engine 的情况下修复;issue 中没有指明源文件或测试。

由索引模型根据 Issue 内容生成。

描述

I had run over 200 containers on my windows server 2019, and when I try to run a new docker on the same computer I get a error :

C:\Program Files\Docker\Docker\resources\bin\docker.exe: Error response from daemon: hcsshim::PrepareLayer - failed failed in Win32: The device is not ready. (0x15).
It's my first time see this error. I want to solve it and know what leads this problem. I did some Google things, and find few information, somebody say it means resource exhausted? But there is enough CPU and Mem resource on my computer, or what kind of resource it mean?

Does anybody know how to fix this problem without restart docker engine? Because I had run 200+ container and I wan't let them down.

there is some information about my enviroment:

PS C:\Users\Administrator> docker info
Client:
 Debug Mode: false

Server:
 Containers: 269
  Running: 265
  Paused: 0
  Stopped: 4
 Images: 36
 Server Version: 19.03.8
 Storage Driver: windowsfilter
  Windows:
 Logging Driver: json-file
 Plugins:
  Volume: local
  Network: ics internal l2bridge l2tunnel nat null overlay private transparent
  Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
 Swarm: inactive
 Default Isolation: process
 Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
 Operating System: Windows Server 2019 Datacenter Version 1809 (OS Build 17763.1339)
 OSType: windows
 Architecture: x86_64
 CPUs: 56
 Total Memory: 223.9GiB
 Name: WIN-V6RDFC35B6C
 ID: B6OV:VPRQ:DTGO:Z6JG:2U7G:QUCI:XFWQ:EVOI:FJKA:DSMO:FXUC:URCA
 Docker Root Dir: D:\ProgramData\Docker
 Debug Mode: true
  File Descriptors: -1
  Goroutines: 1878
  System Time: 2022-06-09T14:32:06.6242483+08:00
  EventsListeners: 2
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine�

主要语言
Go
星标
698
派生
305
平均合并
2 天 5 小时
30 天内合并 PR
20

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/hcsshim 的其他 Issue

查看 microsoft/hcsshim 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。