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
Group policy for Server service prevents installation of docker desktop #12291
Comments
Docker Desktop requires the Server service, so you will have to negotiate with your IT about it. |
Oh, I misunderstood, the service is running but the installer doesn't detect it? That is a bug. |
Yes but my user only as read access to this service as I think it's also in a group policy. The service is up and running but maybe the readonly access right is the issue that trigger the installer to not seeing it enabled |
Thanks, we'll look into it. |
Hi, I’m having a hard time figuring out how to configure the services in group policies (I couldn’t find much docs in a quick web search), but we’re thinking we’ve made changes to address your issue. |
Thanks for sharing that installer @mat007 I can confirm that I was experiencing the same problem (with exact same symptoms) as the author of this issue. The installer provided does work. |
I had the same problem as this, and the installer provided by @mat007 seems to work. |
Thanks for trying it out @LoveDuckie! |
Hello FYI, the issue started with 4.1.0. Regards |
Please try version 4.2.0. The problem should be fixed. Feel free to reopen if you are having further issues. |
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. |
Actual behavior
Get the following error:
[ServicePreRequisite] Failed to run prerequisite service: System.AggregateException: One or more errors occurred. ---> CommunityInstaller.Win32ExceptionWithContext: Failed to start service: Access is denied
at CommunityInstaller.Service.Manager.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.ServicePreRequisite.d__14.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) at System.Lazy
1.CreateValue()at System.Lazy`1.LazyInitValue()
at CommunityInstaller.ServicePreRequisite.get_IsFullFilled()
---> (Inner Exception #0) CommunityInstaller.Win32ExceptionWithContext (0x80004005): Failed to start service: Access is denied
at CommunityInstaller.Service.Manager.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.ServicePreRequisite.d__14.MoveNext()<---
Microsoft.PowerShell.Commands.WriteErrorException
[09:30:18.893] [InstallWorkflow] Prerequisite failed: Docker Desktop requires the Server service to be enabled.
Expected behavior
Installer would see service is running and continue to install
Information
Corporate group policies sets "server" service to automatic start. General user cannot change status of the service.
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: