Windows

How to run Windows based VM images?

The Instruqt platform currently assumes that the virtual machines in sandbox environments are Linux based. That means Windows support is limited.

What currently works:

  • Network connectivity between hosts, including DNS resolution based on host names defined in the environment configuration.

  • Injection of environment variables, that are defined in the environment configuration.

  • Injection of instruqt user with password Passw0rd!, to facilitate interaction from others hosts in the environment.

What does NOT work yet:

Full Windows VM support is on our roadmap.

Work-around for Windows based environments

However, it is still possible to run Windows based images as part of sandbox environments. To interact with these images we support the following work-around:

  • Create a sandbox environment with two images; 1 Linux based, and 1 Windows based

    • The Windows VM will run your software.

    • The Linux VM is used as a proxy to the Windows VM for running life cycle scripts, and providing terminal access.

  • Create a Windows based VM image, that has:

We have create an example track for this work-around. The example is based on Windows Server 2019, and uses a Guacamole container (gcr.io/instruqt/guacamole) to provide RDP access.

You can play the example track here: https://play.instruqt.com/instruqt/tracks/windows-desktop. And the source code is available at: https://github.com/instruqt/track-windows-desktop.