Switch to Windows Containers function not available

Hello,

we have installed Docker silently with these parameters:
“Install -package "$dirFiles\DockerDesktop.d4w” --quiet --accept-license --backend=wsl-2 --always-run-service"

now we have the problem that on some devices the option “switch to windows containers” isnt there.
Hyper-V and Containers - features are enabled.
These are all Windows 11 devices.

If i would install Docker manually and check the box before installing it, it will work.
How do I activate this feature when installing Docker silently?

Kind Regards,
Lars

I’m not familiar with that d4w file extension. What is the installation guide you are following?

This is the one I checked in the official documentation

Can you see errors in the logs?

docker desktop logs

And what about Windows Subsystem for Linux?

When you install manually, can you choose the WSL2 backend? Are you sure it is installed using the WSL2 backend?