Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failed to create VM MobyLinuxVM on Win 10 - invalid amount of arguments #33

Closed
derfalx opened this issue Aug 10, 2016 · 6 comments
Closed

Comments

@derfalx
Copy link

derfalx commented Aug 10, 2016

Expected behavior

Docker should start

Actual behavior

Docker does not start

Information

Diagnostic ID: E0BC3065-6B9C-4BB1-83EF-966436C17D7A/2016-08-10_10-46-01

I'm getting this error, after starting my computer this morning.
OS: Latest Win 10 Pro Version (Version: 1607 Build: 1493.10)
Architecture: x64

The following Stacktrace is shown to me:

Failed to create VM "MobyLinuxVM": Für "min" und die folgende Argumenteanzahl kann keine Überladung gefunden werden: "2".
   bei Docker.Core.Pipe.NamedPipeClient.TrySend(String action, Object[] parameters)
   bei Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters)
   bei Docker.Core.Backend.BackendClient.Start(Settings settings)
   bei Docker.Actions.DoStart(Settings settings, Boolean showWelcomeWindow)
   bei Docker.Core.TaskQueue.<.ctor>b__16_0()

It seems like some arguments to start the MobyLinuxVM are parsed or passed in a wrong way.
Restarting multiple times did not solve the problem.

I am not sure if this problem is also part of:

@rn rn added the kind/bug label Aug 11, 2016
@rn
Copy link
Contributor

rn commented Aug 11, 2016

Thank you for your report. I don't think we have seen this error before and it's kinda weird. Could you try executing this commands on an elevated powershell:

$CPUs = 2
[Math]::min((Get-VMHost).LogicalProcessorCount, $CPUs)

Thanks

@derfalx
Copy link
Author

derfalx commented Aug 11, 2016

It returns 2.

I took a look into Hyper-V-Manager, it shows two virtual computer. Both are MobyLinuxVM with configurationversion 8.0 and 2048MB starting storage. Is it normal to have two virtual computer?

@rn
Copy link
Contributor

rn commented Aug 11, 2016

Ah, two VMs. That's no good. Someone else has reported this as well, but we have no idea how this happens (windows is sometimes weird like this). In the upcoming Beta22 we guard against this, but for now can you please exit the app, delete both of them in Hyper-V Manager or via powershell, and try starting the app again?
Thanks

@derfalx
Copy link
Author

derfalx commented Aug 12, 2016

Deleting both virtual computer helped! Now Docker is working again.
Thank you for your help!

@rn
Copy link
Contributor

rn commented Aug 12, 2016

@derfalx thanks for reporting back and glad it is working for you now. Closing this issue

@docker-robott
Copy link
Collaborator

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 docker locked and limited conversation to collaborators Jun 17, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

3 participants