Skip to content
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

WSL 2 is not installed / docker engine failed to start #1

Open
apoorvpandey-ap opened this issue Jan 11, 2022 · 1 comment
Open

WSL 2 is not installed / docker engine failed to start #1

apoorvpandey-ap opened this issue Jan 11, 2022 · 1 comment

Comments

@apoorvpandey-ap
Copy link
Owner

apoorvpandey-ap commented Jan 11, 2022

Problem while opening a Docker Desktop

case 1

image

case 2

image

Step 1 - Enable the Windows Subsystem for Linux

Open PowerShell as Administrator (Start menu > PowerShell > right-click > Run as Administrator) and enter this command:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Step 2 - Enable Virtual Machine feature

Open PowerShell as Administrator and run:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Step 3 - Download the Linux kernel update package

WSL2 Linux kernel update package for x64 machine
Run the update package downloaded in the previous step

Step 4

Open PowerShell and run this command to set WSL 2 as the default version when installing a new Linux distribution:

wsl --set-default-version 2

Step 5

Restart you PC

note - Please enable Virtualization Technology from the boot menu its important
IMG_20220110_101231 (1)

Manual Video
Document reference

END

User Problem from @youtube - name enes fındık

First of all, thank you very much for your video on docker. I tried the same thing you did but I'm still getting the problem. This problem started after Windows 10 update and it still persists. I'm looking forward to your reply. Thanks a lot. have a nice day.

dockerw

@apoorvpandey-ap apoorvpandey-ap changed the title WSL 2 is not installed. WSL 2 is not installed / docker engine failed to start Jan 11, 2022
@apoorvpandey-ap
Copy link
Owner Author

apoorvpandey-ap commented Mar 31, 2022

Windows 11 have some different problem

User Problem - Name -Dmytro Trots

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant