i have already enabled virtualization in my BIOS, and also enable it in Windows feature
furthermore, the android emulator with android studio working well, but when i try to run Docker for windows, i encounter this problem?
i don't know where the problem is?
Enable the Hyper-V role through Settings 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.
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.
Second, the upcoming Windows Subsystem for Linux version 2 fully supports docker using Hyper‑V, even on Windows Home edition. Windows Subsystem for Linux (WSL) is really great for developers who want to install Windows on their PC.
Operating System. If you do not run a 64-bit version of Windows Windows 10 Pro, Enterprise, or Education; 1511 November update, Build 10586 or later, you cannot run Docker for Windows. You can install Docker Toolbox if you have a 64-bit version of Windows 7 or later. Alternately, you do have the option to upgrade.
You need to autostart the hypervisor at startup.
Open a Powershell as Admin. Paste the line:
bcdedit /set hypervisorlaunchtype auto
Then the hypervisor will start at the next boot and it should work. For future information see: https://d3v.one/windows-10-changing-hyper-v-support-at-boot-time/
In my case this worked for me More concrete steps:
got to ‘Apps and Features. Select Programs and Features on the right under related settings. Select Turn Windows Features on or off. Unselect Hyper-V and click OK. (So I disable it) Restart computer
After restart I go to: ‘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. (So I enable it) Computer restart
After restart, then docker worked correctly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With