尝试绑定在Windows容器中装入卷时,收到错误。
系统信息:
Windows 10
1709
16299.309
Docker version 18.03.1-ce, build 9ee9f40
命令:
docker run -it -v c:/test:c:/test microsoft/nanoserver
错误:
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: container af555741927f43720fa7be719e275c87903392beff24271a109cfed9b2dbd0e2 encountered an error during CreateContainer: failure in a Windows system call: The system cannot find the path specified.
(0x3) extra info: {"SystemType":"Container","Name":"af555741927f43720fa7be719e275c87903392beff24271a109cfed9b2dbd0e2","Owner":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\Docker\\windowsfilter\\af555741927f43720fa7be719e275c87903392beff24271a109cfed9b2dbd0e2","Layers":[{"ID":"dca09312-2011-54d4-91c3-cae59bab50a9","Path":"C:\\ProgramData\\Docker\\windowsfilter\\fd160da19bc5ff5552185fb8c6229846a8991ef646dbc4ad1e4088ea07a0acfc"},{"ID":"b085e0fe-87fc-58c9-a710-b4ec42281c02","Path":"C:\\ProgramData\\Docker\\windowsfilter\\3157c88bfaee933226dff3e9d993d5861acf14ed7084ad482b292e4e6d75c078"}],"HostName":"af555741927f","MappedDirectories":[{"HostPath":"c:\\test","ContainerPath":"c:\\test","ReadOnly":false,"BandwidthMaximum":0,"IOPSMaximum":0,"CreateInUtilityVM":false}],"HvPartition":true,"EndpointList":["64239aac-c5fd-4114-af21-c9f71255f2e3"],"HvRuntime":{"ImagePath":"C:\\ProgramData\\Docker\\windowsfilter\\fd160da19bc5ff5552185fb8c6229846a8991ef646dbc4ad1e4088ea07a0acfc\\UtilityVM"},"AllowUnqualifiedDNSQuery":true}.
我已经尝试了路径,卸载和重新安装的所有斜杠变种,禁用容器功能和hyperV然后重新安装并允许docker启用这些功能。有什么建议吗?
答案 0 :(得分:0)
我得到了一个提示。我在 Windows 上使用 git bash 并且还有这个错误消息“系统找不到指定的路径”。就我而言:
我知道这有点不同,但谁知道谁会搜索此错误消息。