How to automate "Switch to Windows Containers"

I am trying to automate the loading of Docker Desktop Installer.exe. After I have installed the desktop, I want to start run containers, but the containers have Windows applications. Currently I have to manually pull down “Switch to Window Containers” from the Docker icon. This will not scale to the many computers I will be working on.
Is there a registry entry that will positively identify Windows Containers are active instead of Linux containers?
Is there an install switch for the .exe (not the Enterprise msi) that will do this? Seems like there should be.
Thanks for any guidance.

1 Like