Do I need activate WSL2 AND Hyper-V for install/use Docker on Windows 11?
Thanks!
Docker Desktop for Windows works with WSL2 for Win11 home, pro and enterprise .
Hyper-V requires a Win11 pro or enterprise version
The WSL2 backend is recommended over the HyperV-based WSL1 backend.
Thanks for your feedback.
Does Docker Desktop need both (WSL2+HyperV)?
Does Docker Desktop work only with WSL2 enabled?
You can find the system requirements hre for each backend: Install Docker Desktop on Windows | Docker Docs
But since Docker Desktop does not require
the answer is no for question 1 and I think @meyay also answered question 2, but to be clear, it requires either Hyper-V or WSL2. However, if you want to run not just Linux containers but native Windows containers, you can use only Windows container images with the matching version with your host without Hyper-V.