I've updated my Azure VM to Windows 10 Insider 18312 and it works now. YESS!
I have some other questions and ideas where I want to use Windows Sandbox.
- Is there an API or CLI to start a Windows Sandbox?
- Can we run multiple Sandboxes? (Oh, I just tried it, a popup with "Only one running instance of Windows Sandbox is allowed." appears.) Will this be improved in the future?
Because the Windows Sandbox reminds me to this Vagrant Cucumber plugin https://github.com/scalefactory/vagrant-cucumber I have used some years ago to run integration tests with a MSI package. This automatically snapshotted a VM and ran the first Cucumber scenario in that VM, resets to the last snapshot and ran the second scenario and so on. With Windows Sandbox it looks much better integrated and should be even faster than booting a VM for each scenario.
- The Windows Sandbox looks somehow related to Windows Containers. Can we have something like adding a small layer on top of the empty Sandbox "image" to have some software preinstalled? The Windows Sandbox looks for me like a "FROM scratch" or "FROM windows10host", so can we build another "image" that has "FROM windowshost + RUN install-something"?