-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker failed to start #863
Comments
Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Generic failure |
Hi @HarisL071 It looks like the MobyLinuxVM isn't getting created properly, we might need to do some steps in the install manually, but let's see what's going on first. |
Checking for common problems cmdlet Start-Process at command pipeline position 1 cmdlet Start-Process at command pipeline position 1 |
@HarisL071 I do see several access denied errors here, what kind of user rights do you have- it looks like the main issue is coming from Hyper-V not being able to create a new virtual switch. You can try running the commands that create the MobyLinuxVM and the nat switch manually to see if you get a more specific error as to exactly where the access denies are coming from. powershell -ExecutionPolicy ByPass -File "C:\Program Files\Docker\Docker\resources\MobyLinux.ps1" -destroy powershell -ExecutionPolicy ByPass -File "C:\Program Files\Docker\Docker\resources\MobyLinux.ps1" -create |
Delete Create Script started at 23:10:50.077
|
@HarisL071 I guess this error is a lot more specific :) . - Get-VMNetworkAdapter : Generic failure Before we go for the nuclear option - check Hyper-V manager to see if you can create or edit virtual switches, the Generic failure error is coming from Hyper-V - so there is likely a problem there. If you still see errors there - then I'd say the best way to proceed here is to wipe Hyper-V, and then manually install the pre-requisites before reinstalling Docker. |
Thx :-) . Docker is up and running! |
@HarisL071 You're welcome! I'll go ahead and close this out, but please let me know if you still have trouble with it |
For anyone else who happens to run into this issue, I found that VPN adapters added before the DockerNAT switch is created causes problems. After uninstalling the VPN software, everything ran properly. I was then able to reinstall the VPN software. |
Awesome. Sorted out the problem for me. |
Closed issues are locked after 30 days of inactivity. 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. |
Expected behavior
Dockers Starts
Actual behavior
Doxker failed to start
Information
Diagnostic ID : 1557827E-5766-43A6-8C68-364B3AB69CE0/2017-06-29_11-28-14
Unable to create: The running command stopped because the preference variable
"ErrorActionPreference" or common parameter is set to Stop: Generic failure
at New-Switch, : line 131
at , : line 385
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: