Prepare your Windows 10 Home x64 arch machine for installing Docker Desktop with Kubernetes

Steps
  1. Install Windows 10, version 2004 or higher.
  2. Enable WSL 2 feature on Windows
  3. Download Docker Desktop Stable 2.3.0.2 or a later release 
  4. Install Docker Desktop
Step 2 - Enable WSL 2 Feature on Windows
Here the main step is the second step to focusing on how to Enable WSL 2 feature (Windows Subsystem for Linux) on Windows 10.


Enable this optional feature using the following command for Windows 10 on PowerShell

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

Download Windows 10 update assistant here. Then Update your Windows 10 version to the latest.

Enable Virtual Machine Platform Feature using PowerShell

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

Set WSL 2 as the default version

wsl --set-default-version 2

If you got a normal message setting WSL 2 is fine, but if you are facing an error please visit https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel and install wsl2-kernal .msi file and install. Next, try to set WSL version 2 again.


Let's test your docker client, engine, and Kubernetes cluster status in PowerShell now.


Comments

  1. Keep remember to uninstall Docker tool box and Oracle Virtual VM prior to installation of Docker Desktop, Otherwise it may produce conflicts

    ReplyDelete

Post a Comment

Popular posts from this blog

Let's try to build scrum masters/project managers/software architects/even a company with training AI models

TCP Ports list

Problem Solving: Allotment calculator