While trying to install Docker Desktop through the installer on my Windows 10 machine I kept got the error as mentioned in the title of this post. The installer can be downloaded from here which is the Community version since we’re working on the development environment.
To resolve this, we need to take care of some prerequisites as mentioned below:
- Install Hyper-V and enable it. If not already done, run the following commands in PowerShell in Admin mode:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Enable-WindowsOptionalFeature -Online -FeatureName Containers -All
2. Once the above 2 commands are successfully completed. Open Services.msc in Admin mode and look for Server service. Enable this Service as per requirement to Automatic/Manual and set it to Running.
Restart your machine to complete the installation.
2 thoughts on “Docker desktop requires the server service to be enabled Windows 10”
I have done all the steps and I still get the same error
You might have to Start the Service again from Services.msc once the machine is restarted as it does not allow Automatic start and requires Admin permissions on the machine.