At the time of docker start if we get this error "Windows subsystem for Linux is not available" then we can try this command on Powershell
reference: https://docs.microsoft.com/en-us/windows/wsl/install
Note: OS version should be equal to or greater than 2004
For the lower version we can enable and disable it from the Control panel > Turn Windows features on or off
Note: Restart may be required.
If you have enabled it, you may need to enable this feature from the PowerShell command
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
If getting an alert for Linex kernel update, you can update it from here
References:
https://docs.microsoft.com/en-us/windows/wsl/install
https://docs.microsoft.com/en-us/windows/wsl/install-manual