Docker提交不适用于Windows Server 2019

时间:2019-04-03 08:54:39

标签: docker

我有Windows Server 2019 VM与Docker一起使用,具有250Gb的HDD和16 GB的ram。

我写了一个用于复制某些设置的dockerfile,然后在Containers上手动运行安装。现在,我需要使用这些容器创建图像。当我使用Docker commit时,它发出的问题为

"Error response from daemon: re-exec error: exit status 1: output: time=“2019-04-02T12:22:17+05:30” level=error msg=“hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=\?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719”
hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719"

Docker版本: 客户端:Docker Engine-社区 版本:18.09.2 API版本:1.39 Go版本:go1.10.8 Git提交:6247962 建造时间:2019年2月10日星期日04:12:31 操作系统/ Arch:Windows / amd64 实验性的:错误

服务器:Docker Engine-社区 发动机: 版本:18.09.2 API版本:1.39(最低版本1.24) Go版本:go1.10.6 Git提交:6247962 建造时间:2019年2月10日星期日04:28:48 操作系统/ Arch:Windows / amd64 实验性的:错误

PS C:\data1> docker commit fcc9a5618b85 test:v1 #Committing Container

Error response from daemon: re-exec error: exit status 1: output: time=“2019-04-02T12:22:17+05:30” level=error msg=“hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=\?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719”
hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719

预期结果:

PS C:\temp> docker commit suspicious_babbage temp-mysql:v1
sha256:6b4ddfffe4743cc21894ff3beb173fb7d24a7646f0c1b1fcb948eb60832717b1

实际结果:

PS C:\data1> docker commit fcc9a5618b85 test:v1 #Committing Container

Error response from daemon: re-exec error: exit status 1: output: time=“2019-04-02T12:22:17+05:30” level=error msg=“hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=\?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719”
hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719

0 个答案:

没有答案