The error message indicates that --memory=8192
isn’t available in Docker Desktop, which only has 7807MB.
Either you need to assign more memory to WSL2 , or reduce the memory you request for minikube.
You can configure WSL2 memory either using the WSL Settings
(recommended) program, or modify the .wslconfig
in your user profile directory.
This is an example to configure ~10GB ram for WSL2:
[wsl2]
memory=10737418240
You do know that Docker Desktop already comes with built-in Kubernetes? You can enable it in the settings.