Docker desktop requires the server service to be enabled windows

Skip to content

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:

  1. 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.

Recently, because of the needs of the project, Docker is going to be used as a deployment platform, so Docker needs to be installed.

For the installation of Docker on Windows 10 Professional Edition, please refer to:

Windows Docker installation

DownloadDocker Desktop Installer.exeThe installation program reports an error during installation:

«Docker Desktop requires the Server service to be enabled». As shown below:

The solution is as follows:

Step1: Run cmd on the command line, enter the command services.msc and press Enter;

Step2: Find and select Server in the pop-up window, double-click to set the server’s service status to «start»:

problem solved.

Когда я попытался установить настольный компьютер Docker, установив программу на моем машине Windows 10, я всегда получал ошибку, упомянутую в заголовке этой статьи. Программа установки может быть загружена отсюда, это версия сообщества, потому что мы работаем в среде разработки.

Чтобы решить эту проблему, мы должны обратить внимание на некоторые предпосылки, как описано ниже:

1. Установите Hyper-V и включите его. Если он завершен, пропустите этот шаг. Если он не завершен, запустите следующую команду в PowerShell:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Enable-WindowsOptionalFeature -Online -FeatureName Containers -All

2. Как только вышеупомянутые две команды успешно завершены. Открыть в режиме администратораServices.msc НаходитьServerСлужить. Включить эту услугу по мере необходимости по мере необходимостиАвтоматическое / ручноеИ установить его набегать

3. Перезагрузите машину, чтобы завершить установку.

Follow us on Social Media

Cannot Enable Hyper-V Service Docker With Code Examples

Hello everyone, in this post we will look at how to solve the Cannot Enable Hyper-V Service Docker problem in the programming language.

1. Enable HyperV
How to - https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v
2. If services doesnt run - update wsl to wsl 2
How to - https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package

We investigated a wide range of use cases in order to find a solution to the Cannot Enable Hyper-V Service Docker problem.

Can not enable Hyper-V?

Right click on the Windows button and select ‘Apps and Features’. Select Programs and Features on the right under related settings. Select Turn Windows Features on or off. Select Hyper-V and click OK.25-Apr-2022

Does Hyper-V need to be enabled for Docker?

Docker requires Hyper-V enabled options for Windows 10. Without an enabled option, Docker can not run after installation. Therefore, the Hyper-V option must be enabled.17-Jan-2021

How do I start Hyper-V service?

Open Hyper-V Manager. Click Start, point to Administrative Tools, and then click Hyper-V Manager. In the navigation pane, click the name of the server if it’s not already selected. In the Actions pane, click Start Service.29-Jun-2022

Do I have Hyper-V enabled?

Open the Windows Start menu, type cmd, right click the cmd entry, and click Run as administrator. Run systeminfo to check whether Hyper-V is installed.27-Sept-2021

Why Hyper-V is not showing?

Hardware requirements: If you are already using the correct OS version, go to check the BIOS settings. The reason of Hyper-V not showing may be failing to enable the Virtualization Technology or lacking of CPU that supports for VM Monitor Mode Extension.

How do I install Docker on Windows 10 without Hyper-V?

Step to install Docker-CE on Windows 10 or 7 without Hyper-V using ToolBox

  • Download Docker ToolBox.
  • Run the installer.
  • Select Destination Location.
  • Select Docker ToolBox Components to install.
  • Select Additional Tasks.
  • Run Docker Quickstart Terminal Without Hyper-V.
  • Check the Docker working.

How do I switch from Docker to Hyper-V?

Hyper-V must be enabled on your desktop system. Docker for Windows automatically enables it upon install.Example

  • Make sure Hyper-V is enabled.
  • Set up a new external network switch (Optional)
  • Reboot.
  • Create the nodes with Docker Machine and the Microsoft Hyper-V driver.

How do I fix Docker Desktop requires the server service to be enabled?

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.27-Jan-2021

Can you run Docker without virtualization?

No. Docker is heavily build on deep Linux kernel features, which don’t exist on windows. Thats why Docker Desktop uses a VM. The experimental version of Docker desktop can use WSL2 as backend, which is a somewhat native, non virtualized linux kernel in Windows.05-May-2020

How do I enable Hyper-V on Windows?

Adding the Hyper-V role to your Windows installation

  • Right-click on the Start menu.
  • Click Search.
  • In the search field, enter Turn windows features on or off. Depending on the system, the steps will vary. For Windows 8 or 10 systems: From the list of features, select Hyper-V. Click OK. Reboot the system.

Follow us on Social Media

  • Docker desktop is unable to detect a hypervisor windows 10
  • Docker на windows или linux
  • Docker desktop installation failed windows 7
  • Docker для windows server 2012
  • Docker desktop is shutting down windows 10