Docker Community Forums

Share and learn in the Docker community.

Docker can not start


(Boakotoko) #1

Hyper-v is working.docker can not start .The error information:

Version: 18.04.0-ce-rc2-win61 (17070)
Channel: edge
Sha1: f3c9ab621dcb4025fbb698ae57dac3b859861034
Started on: 2018/05/26 14:19:37.574
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Pro
Edition: Professional
Id: 1803
Build: 17134
BuildLabName: 17134.1.amd64fre.rs4_release.180410-1804
File: C:\Users\asus\AppData\Local\Docker\log.txt
CommandLine: “C:\Program Files\Docker\Docker\Docker for Windows.exe”
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[14:19:37.809][GUI ][Info ] Starting…
[14:19:39.549][Tracking ][Info ] Crash report and usage statistics are enabled
[14:19:39.549][SegmentApi ][Info ] Usage statistic: appLaunched
[14:19:39.689][SegmentApi ][Info ] Usage statistic: heartbeat
[14:19:39.689][SegmentApi ][Info ] Usage statistic: Identify
[14:19:41.988][Notifications ][Info ] Docker is starting…
[14:19:42.049][NamedPipeClient][Info ] Sending Version()…
[14:19:42.658][NPS ][Info ] NPS user ceated on: 5/25/2018 8:07:22 AM -07:00, last survey: 1/1/0001 12:00:00 AM +00:00
[14:19:52.791][NamedPipeClient][Info ] Sending Version()…
[14:19:52.854][NamedPipeClient][Info ] Received response for Version
[14:19:52.854][NamedPipeClient][Info ] Sending Start(Linux, Docker.Core.Settings, Docker.Core.DaemonOptions)…
[14:19:50.852][BackendServer ][Info ] Started
[14:19:52.838][NamedPipeServer][Info ] Version()
[14:19:52.838][NamedPipeServer][Info ] Version done in 00:00:00.
[14:19:52.869][NamedPipeServer][Info ] Start(Linux, Docker.Core.Settings, Docker.Core.DaemonOptions)
[14:19:52.869][PowerMode ][Info ] Stop
[14:19:52.869][HyperV ][Info ] Stop
[14:19:52.893][PowerShell ][Info ] Run script with parameters: -Stop True…
[14:19:52.893][PowerShell ][Info ] Creating a Runspace Pool…
[14:19:53.182][PowerShell ][Info ] Runspace Pool created (Min=1, Max=2)
[14:19:53.354][HyperV ][Info ] Script started at 14:19:53.339
[14:19:57.199][HyperV ][Info ] Module loaded at 14:19:57.199
[14:19:57.558][HyperV ][Info ] VM MobyLinuxVM does not exist
[14:19:57.558][HyperV ][Debug ] [stop] took 00:00:04.6729681 to run
[14:19:57.558][OptimizeDisk ][Info ] Optimize
[14:19:57.558][PowerShell ][Info ] Run script…
[14:19:57.605][Moby ][Info ] Stop
[14:19:57.636][HyperV ][Info ] Create
[14:19:57.636][PowerShell ][Info ] Run script with parameters: -Create True -VhdPathOverride -VhdSize 64424509440 -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\docker-for-win.iso…
[14:19:57.636][Firewall ][Info ] Removing all existing rules…
[14:19:57.667][PowerMode ][Info ] Start
[14:19:57.699][HyperVGuids ][Info ] Installing GUIDs…
[14:19:57.777][HyperVGuids ][Info ] GUIDs installed
[14:19:57.792][Firewall ][Info ] All existing rules are removed.
[14:19:57.792][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe…
[14:19:57.792][HyperV ][Info ] Script started at 14:19:57.777
[14:19:57.902][Firewall ][Info ] Opening ports for SMB…
[14:19:57.933][HyperV ][Info ] Module loaded at 14:19:57.933
[14:19:57.949][Firewall ][Info ] Ports are opened
[14:19:58.246][HyperV ][Info ] Creating Switch: DockerNAT…
[14:20:02.360][HyperV ][Info ] Switch created.
[14:20:05.164][Linux ][Error ] Failed to start: Unable to create: 已停止该运行的命令,因为首选项变量“ErrorActionPreference”或通用参数设置为 Stop: 对象已存在。

. Let’s retry
[14:20:05.767][HyperV ][Info ] Hyper-V is running
[14:20:05.767][PowerMode ][Info ] Stop
[14:20:05.767][HyperV ][Info ] Stop
[14:20:05.767][PowerShell ][Info ] Run script with parameters: -Stop True…
[14:20:05.845][HyperV ][Info ] Script started at 14:20:05.845
[14:20:05.892][HyperV ][Info ] Module loaded at 14:20:05.892
[14:20:05.924][HyperV ][Info ] VM MobyLinuxVM does not exist
[14:20:05.924][HyperV ][Debug ] [stop] took 00:00:00.1562496 to run
[14:20:05.924][OptimizeDisk ][Info ] Optimize
[14:20:05.924][PowerShell ][Info ] Run script…
[14:20:05.955][Moby ][Info ] Stop
[14:20:05.986][HyperV ][Info ] Destroy
[14:20:05.986][PowerShell ][Info ] Run script with parameters: -Destroy True -KeepVolume True…
[14:20:06.049][HyperV ][Info ] Script started at 14:20:06.049
[14:20:06.064][HyperV ][Info ] Module loaded at 14:20:06.064
[14:20:06.095][HyperV ][Info ] VM MobyLinuxVM does not exist
[14:20:06.095][HyperV ][Info ] Destroying Switch DockerNAT…
[14:20:07.651][HyperV ][Info ] Removing VM MobyLinuxVM…
[14:20:07.683][HyperV ][Debug ] [destroy] took 00:00:01.6964819 to run
[14:20:07.683][Firewall ][Info ] Closing ports…
[14:20:07.683][Firewall ][Info ] Removing all existing rules…
[14:20:07.823][Firewall ][Info ] All existing rules are removed.
[14:20:07.823][Firewall ][Info ] Ports are closed
[14:20:07.823][HyperVGuids ][Info ] Removing GUIDs…
[14:20:07.823][HyperVGuids ][Info ] GUIDs removed
[14:20:07.839][HyperV ][Info ] Create
[14:20:07.839][PowerShell ][Info ] Run script with parameters: -Create True -VhdPathOverride -VhdSize 64424509440 -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\docker-for-win.iso…
[14:20:07.870][HyperV ][Info ] Script started at 14:20:07.870
[14:20:07.902][HyperV ][Info ] Module loaded at 14:20:07.902
[14:20:07.948][HyperV ][Info ] Creating Switch: DockerNAT…
[14:20:10.658][HyperV ][Info ] Switch created.
[14:20:11.408][NamedPipeServer][Error ] Unable to execute Start: Unable to create: 已停止该运行的命令,因为首选项变量“ErrorActionPreference”或通用参数设置为 Stop: 对象已存在。

在 Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters) 位置 C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\HyperV.cs:行号 183

在 Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) 位置 C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:行号 116
[14:20:11.658][NamedPipeClient][Error ] Unable to send Start: Unable to create: 已停止该运行的命令,因为首选项变量“ErrorActionPreference”或通用参数设置为 Stop: 对象已存在。

[14:20:11.674][Notifications ][Error ] Unable to create: 已停止该运行的命令,因为首选项变量“ErrorActionPreference”或通用参数设置为 Stop: 对象已存在。

[14:20:11.736][CrashReport ][Info ] Preparing package to send with the diagnostics
[14:20:11.752][NamedPipeClient][Info ] Sending Version()…
[14:20:11.768][NamedPipeClient][Info ] Sending Version()…
[14:20:11.783][NamedPipeServer][Info ] Version()
[14:20:11.783][NamedPipeServer][Info ] Version done in 00:00:00.
[14:20:11.846][NamedPipeClient][Info ] Sending Version()…
[14:20:11.861][NamedPipeClient][Info ] Received response for Version
[14:20:11.861][NamedPipeClient][Info ] Sending GetDebugInfo()…
[14:20:11.861][NamedPipeServer][Info ] GetDebugInfo()
[14:20:11.986][CrashReport ][Warning] Unable to collect features settings: 未能找到文件“C:\Users\asus\AppData\Roaming\Docker\features-cache.json”。
[14:20:11.988][CrashReport ][Warning] Unable to collect features settings: 未能找到文件“C:\Users\asus\AppData\Roaming\Docker\features-overrides.json”。
[14:20:11.990][NamedPipeClient][Info ] Sending Version()…
[14:20:13.288][NamedPipeClient][Info ] Received response for Version
[14:20:13.288][NamedPipeClient][Info ] Sending DownloadVpnKitLogs(C:\Users\asus\AppData\Local\Temp\hgyvfqzh.svw\pcap.tar)…
[14:20:13.288][NamedPipeClient][Info ] Received response for Version
[14:20:13.288][NamedPipeClient][Info ] Sending DownloadWinContainersDebugInfo(C:\Users\asus\AppData\Local\Temp\hgyvfqzh.svw\win_containers)…
[14:20:13.288][NamedPipeClient][Info ] Received response for Version
[14:20:13.288][NamedPipeClient][Info ] Sending DownloadVmLogs(C:\Users\asus\AppData\Local\Temp\hgyvfqzh.svw\mobyLogs.tar)…
[14:20:13.288][NamedPipeServer][Info ] Version()
[14:20:13.288][NamedPipeServer][Info ] Version done in 00:00:00.
[14:20:13.288][NamedPipeServer][Info ] Version()
[14:20:13.288][NamedPipeServer][Info ] Version done in 00:00:00.
[14:20:13.288][NamedPipeServer][Info ] Version()
[14:20:13.335][NamedPipeClient][Info ] Received response for DownloadVpnKitLogs
[14:20:13.288][NamedPipeServer][Info ] Version done in 00:00:00.
[14:20:13.288][NamedPipeServer][Info ] DownloadVpnKitLogs(C:\Users\asus\AppData\Local\Temp\hgyvfqzh.svw\pcap.tar)
[14:20:13.288][NamedPipeServer][Info ] DownloadWinContainersDebugInfo(C:\Users\asus\AppData\Local\Temp\hgyvfqzh.svw\win_containers)
[14:20:13.304][VpnKit ][Warning] Unable to download logs: 操作已超时。
[14:20:13.304][NamedPipeServer][Info ] DownloadVpnKitLogs done in 00:00:00.0156359.
[14:20:13.304][NamedPipeServer][Info ] DownloadVmLogs(C:\Users\asus\AppData\Local\Temp\hgyvfqzh.svw\mobyLogs.tar)
[14:20:13.382][PowerShell ][Info ] Run script ‘(Hyper-V\Get-VM MobyLinuxVM).Id.Guid’…
[14:20:13.413][HyperV ][Warning] Unable to download logs: 已停止该运行的命令,因为首选项变量“ErrorActionPreference”或通用参数设置为 Stop: Hyper-V 找不到名称为“MobyLinuxVM”的虚拟机。
[14:20:13.413][NamedPipeServer][Info ] DownloadVmLogs done in 00:00:00.1093651.
[14:20:13.413][NamedPipeClient][Info ] Received response for DownloadVmLogs
[14:20:19.191][SegmentApi ][Info ] Usage statistic: actionMenuQuit
[14:20:19.191][App ][Info ] User clicked on exit
[14:20:19.207][GuiApiServer ][Info ] Systray listener shutdown (cancelled)
[14:20:19.207][GuiApiServer ][Info ] Systray listener shutdown (cancelled)
[14:20:19.207][SystrayRemote ][Info ] Systray listener shutdown (cancelled)
[14:20:19.207][GuiApiServer ][Info ] Systray listener shutdown (cancelled)
[14:20:19.207][SystrayRemote ][Info ] Systray listener shutdown (cancelled)
[14:20:19.207][SystrayRemote ][Info ] Systray listener shutdown (cancelled)
[14:20:19.207][SystrayRemote ][Info ] Systray listener shutdown (cancelled)
[14:20:19.207][SystrayRemote ][Info ] Systray listener shutdown (cancelled)
[14:20:19.238][Notifications ][Info ] Docker will shut down
[14:20:33.243][NamedPipeClient][Info ] Received response for DownloadWinContainersDebugInfo
[14:20:33.243][NamedPipeServer][Info ] DownloadWinContainersDebugInfo done in 00:00:19.9544800.
[14:20:48.726][NamedPipeClient][Info ] Received response for GetDebugInfo
[14:20:48.710][NamedPipeServer][Info ] GetDebugInfo done in 00:00:36.8484104.
[14:20:49.330][CrashReport ][Info ] Uploading diagnostics…
[14:20:53.686][CrashReport ][Info ] Diagnostics successfully uploaded (2C2AE3C2-F8D6-4FB7-919E-3B46582E49BA/2018-05-26_14-20-11)
[14:20:53.717][GUI ][Info ] Sending Bugsnag report 201fd82b-882b-457f-a8b8-84e1c5b6f851…
[14:20:55.437][GUI ][Info ] Bugsnag report 201fd82b-882b-457f-a8b8-84e1c5b6f851 sent