Please visit these pages for more details on how to install Docker Desktop (WSL 2):
https://docs.docker.com/docker-for-windows/wsl/
https://docs.microsoft.com/en-us/windows/wsl/install-win10
Please make sure that you have installed Windows Subsystem for Linux (WSL 2):
Install Windows Subsystem for Linux (WSL 2)
-
Download Docker Desktop:
https://hub.docker.com/editions/community/docker-ce-desktop-windows/
-
Follow the installation instructions to install Docker Desktop.
Once installed, Start Docker Desktop from the Windows Start menu.
-
Verify that the "Use WSL 2 based engine" is checked.
In the Docker menu, select Settings, then select General.
If not already checked, check the "Use WSL 2 based engine" check box and click "Apply & Restart".
-
Check Docker-WSL integration.
In the Docker menu, select Settings, then select Resources, then select "WSL INTEGRATION".
Verify that the "Enable integration with default WST distro" is checked. If not already checked, check it.
In the section "Enable integration with additional distro", select a distro of your choice.
Click "Apply & Restart".
-
Enable Kubernetes.
In the Docker menu, select Settings, then select Kubernetes.
Check "Enable Kubernetes" check box.
Check "Show system containers (advanced)" check box.
Click "Apply & Restart".
-
Check Docker installation.
On windows, open Command Prompt or PowerShell.
With Linux, open the Linux App you have installed.
Enter: docker version
-
Check Kubernetes installation.
On windows, open Command Prompt or PowerShell.
With Linux, open the Linux App you have installed.
Enter: kubectl version
Enter: kubectl get all --all-namespaces
Enter: docker images