for-win icon indicating copy to clipboard operation
for-win copied to clipboard

The Docker not start successfully

Open ruizhi6666 opened this issue 7 years ago • 7 comments

Expected behavior

The error not occur.

Actual behavior

When open the software, An error occured. Unable to create: 已停止该运行的命令,因为首选项变量“ErrorActionPreference”或通用参数设置为 Stop: 由于找不到某个对象,Hyper-V 尝试在计算机“CAIRZ1-PF10GSLC”上访问该对象时遇到错误。请验证该计算机上的虚拟机管理服务是否正在运行。 在 New-Switch、<无文件> 中: 第 121 行 在 、<无文件> 中: 第 411 行 在 Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) 位置 C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:行号 36 在 Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) 位置 C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:行号 92 在 Docker.Actions.<>c__DisplayClass19_0.b__0() 位置 C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:行号 74 在 Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() 位置 C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:行号 59

Information

  • Windows Version: win10.0.17763.557
  • Docker Desktop Version: Version 2.0.0.3 (31259) Channel: stable Build: 8858db3

Steps to reproduce the behavior

open the application of Docker, then error occur. the issue 100% reproduced.

ruizhi6666 avatar Jun 14 '19 03:06 ruizhi6666

same issue, any solution?

martin-zheng avatar Jun 19 '19 10:06 martin-zheng

same issue too, have you fixed this problem?

woshiquange avatar Jun 29 '19 02:06 woshiquange

Here is what I did: In mobilinux.ps1 file, there was a ErrorActionPreference which was set to Stop. I changed it to SilentlyContinue. After that mobilinux was created and everything seems to be working ok. I verified that the DockerNat was created.

niranjanasu avatar Jun 29 '19 04:06 niranjanasu

hi,Where is mobilinux.ps1 @niranjanasu ,i can not find it!!

zhangqianYY avatar Aug 26 '19 08:08 zhangqianYY

hi,Where is mobilinux.ps1 @niranjanasu ,i can not find it!!

In my system, it was in - C:\Program Files\Docker\Docker\resources

niranjanasu avatar Aug 29 '19 17:08 niranjanasu

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Nov 27 '19 01:11 docker-robott

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jul 07 '20 03:07 docker-robott