Skip to content
Français
Sync not enabled: your progress stays in this browser My learning
Select theme
Français

The dsoxlab appliance: a ready-to-play virtual machine

  • 25 min

By updated

Improve this page

Logo DSOXLab

The appliance is a Debian 13 virtual machine where dsoxlab, Ansible, Terraform and a desktop are already in place: you import it, you start it, you play. It mainly serves on an Intel Mac, where dsoxlab cannot run vm labs directly, and anyone who prefers a throwaway machine to their own. On Windows 11, it is not the right way: dsoxlab installs in WSL2, vm labs included, as Installing dsoxlab locally explains. Not on Linux either: downloading half a gigabyte to save one command makes no sense. No knowledge of virtualisation is assumed.

What you will learn

  • Check that your computer has the memory and disk the appliance asks for.
  • Choose the right file of the release, .ova or .qcow2, and verify its digest before importing.
  • Import the image into VMware Workstation or VMware Fusion.
  • Enable nested virtualisation (a VM that launches other VMs), without which vm labs do not start.
  • Understand what the first boot installs, and why it reboots on its own.
  • Switch the keyboard to AZERTY, from the login screen to the desktop.

What you need

The appliance is only light at download time. Once started, it requires free memory on top of what your system already uses, and the first boot downloads about 1.5 GB: dsoxlab, the virtualisation tools and the desktop. That is deliberate, nothing is pinned in the image, so nothing in it is stale. shell labs are played in the terminal; vm labs start real virtual machines, and they are the ones that require the 8 GB. The labs of the Kubernetes catalogue should be able to fit in it too, one group of machines at a time, as the "Known limits" section says.

MinimumComfortable
Memory4 GB free for the VM8 GB, for the vm labs of the Linux, Ansible and Kubernetes catalogues (one group of machines at a time for the latter)
Disk25 GB free70 GB, if you play several catalogues in a row
CPU2 cores4 cores
SoftwareVMware Workstation (Windows, Linux) or VMware Fusion (Intel Mac), see step 1
Networka connection, for the first boot

The figures in the "comfortable" column are not picked at random: the image is set to 4 CPUs and 8 GB, because the three machines of the Linux catalogue share 5120 MB, and a guest with 2 vCPU has already been seen reporting a host ready at 181 seconds, one second after the 180-second waiting window closed. The lesson Sizing your machine for the labs details those figures catalogue by catalogue.

Where the image is published, and which file to take

The images are attached to the project's releases on GitHub, on the page github.com/stephrobert/dsoxlab/releases. One point is worth checking before you start a download, or you will waste it: a release does not always publish an appliance. The Python distributions ship with every version, the images do not, and several releases in a row may carry none.

So open the releases page and scroll down to the first release whose Assets section lists a dsoxlab-appliance-<version>.ova: that is the one to take, and its number replaces <version> everywhere below. The digests that count are those of the SHA256SUMS attached to that release.

The format of the file then decides the hypervisor, the software that will run the virtual machine on your computer: the .ova imports into VMware Workstation and Fusion, the .qcow2 serves KVM/libvirt and Proxmox. Each image weighs a little under 450 MiB.

FileFor
dsoxlab-appliance-<version>.ovaVMware Workstation and VMware Fusion
dsoxlab-appliance-<version>.qcow2QEMU/KVM, libvirt, Proxmox
SHA256SUMSVerifying what you downloaded, before importing
provenance.intoto.jsonlThe SLSA v1 provenance attestation of the release: it covers the Python package and the source archive, not the images

If you are starting out, take the .ova. Only the last two sets of images are kept: older releases keep their page and their Python distributions, without their images, because an image that pins nothing offers no reproducibility, only its weight. The file name always follows the number of its release, without the v of the tag.

Two design choices explain that reduced weight. The image pins no version of dsoxlab: the first boot installs the latest published one, which avoids republishing half a gigabyte at every patch. And it does not embed the hypervisors: they are only installed at first boot if your computer exposes nested virtualisation, that is, the ability of a virtual machine to launch others. That ability is checked live and never assumed.

Step 1: install VMware

The appliance imports into VMware Fusion on an Intel Mac, and into VMware Workstation on Windows or Linux. If virtualisation is new to you, the training Introduction to virtualisation (in French) lays out the notion from the start; here, installing the software is enough. Both download from the portal of Broadcom, VMware's publisher, which asks you to create an account.

Do not use VirtualBox. The import works there, but vm labs get stuck: the lab's machines start, then one of them takes a core at 100 % and the appliance ends up freezing, whatever memory you give it. shell labs would run, but it is better not to settle in there only to switch at the first vm lab.

Step 2: download the image and verify its digest before importing

Download the release's .ova and, next to it, the SHA256SUMS file. A file of nearly 450 MiB coming from the internet is verified before being imported, never after: that is the supply chain rule this site teaches everywhere, and an image started without a check would contradict the whole point. Compute the digest of the file you received:

Terminal window
# Windows, in PowerShell
Get-FileHash .\dsoxlab-appliance-<version>.ova -Algorithm SHA256
Terminal window
# macOS and Linux
shasum -a 256 dsoxlab-appliance-<version>.ova

The value printed must be the one SHA256SUMS gives for that file. That file holds two lines, one digest and one name per image, in this form:

<64-character digest> ./dsoxlab-appliance-<version>.ova
<64-character digest> ./dsoxlab-appliance-<version>.qcow2

Only the digest, on the left, is compared: the ./ in front of each name comes from the tool that produced the file. GitHub also shows the digest of each file in the Assets section of the release: both must match.

If the value differs, the download is incomplete or tampered with: start it again, then recompute the digest before importing. A tampered image fails much further on, on an OVF error that will not name its cause.

A word about recent Macs, because the file format does not say it: both images are x86-64, the architecture of Intel and AMD processors. They therefore do not suit a Mac with an Apple chip (M1 and later), whose processor is ARM. On those machines the appliance is not the way: install dsoxlab directly to play shell labs there, as Installing dsoxlab locally explains.

Step 3: import the image

In VMware Workstation, open the File, Open menu, pick the .ova file, give the machine a name, then click Import. In VMware Fusion, it is the File, Import menu. The import takes one to three minutes, while VMware decompresses the disk.

The machine advertises 4 CPUs and 8192 MB of memory. Before starting it, adjust the memory in its settings, machine powered off:

  • your computer has 8 GB of RAM in total: bring the VM down to 4096 MB. shell labs will work. vm labs may not fit, since the VM is cramped for the machines of a lab; dsoxlab start <lab> will tell you whether a lab fits, rather than leave you guessing;
  • your computer has 16 GB or more: leave 8192 MB.

This import has not been tested yet on VMware. What every build of the image guarantees is that its descriptor, the file that describes the machine in OVF format, conforms to the specification that VMware checks at import. If the import fails despite a correct digest, report it with dsoxlab support --issue, described in the Troubleshooting section.

One error message is worth knowing, because it explains nothing: on the first images, the import into VMware failed on "SHA256 digest of file does not match manifest". The disk was intact, but VMware and the image's manifest did not compute the digest over the same length. None of the images still downloadable is affected. If you find an old .ova lying on your disk, that is the symptom: take the one from the current release.

Step 4: enable nested virtualisation for vm labs

Skip this step if you only want shell labs. A vm lab starts real machines inside the appliance; your computer therefore has to allow a virtual machine to launch others. That setting is made outside the appliance, with it powered off, because nesting is a property of the host, not of the guest: nothing installed in the appliance can produce it.

The diagram below nests the levels, from your computer down to the lab's machines. Look at the box outlined in red: the setting lives at the level of the host, the outermost one. In the appliance, one level below, there is no box to tick, and the machines of a vm lab do not start until the host has allowed it.

Four nested levels. Your computer, the host, contains VMware Workstation or Fusion, which contains the dsoxlab appliance, the guest, which contains the machines of a vm lab. The nested VT-x/AMD-V setting is ticked at the host level, with the appliance powered off; inside the appliance, no setting is possible and nothing installed enables it.Your computer: the hostHere: tick nested VT-x/AMD-Vappliance powered offVMware Workstationdsoxlab appliance: the guestHere: nothing to setnothing installed enables itMachines of a vm lab
Source · SVG
Esc to close, + and − to zoom, scroll to move around. 100 %

In VMware Workstation, open the machine's settings (VM, Settings), Hardware tab, Processors line, and tick Virtualize Intel VT-x/EPT or AMD-V/RVI.

In VMware Fusion, open the machine's settings, Processors & Memory section, then the advanced options, and tick Enable hypervisor applications in this virtual machine.

If the box is greyed out, your CPU or your BIOS does not expose it, and shell labs remain entirely playable.

Step 5: start it, and let it work

Start the machine from VMware, with its power button. What you are about to see plays in three acts, with nothing to type:

  1. a few seconds of white text on a black background, Debian booting;
  2. several minutes where the machine seems to wait at a login prompt. It is not idle: it is installing dsoxlab, the hypervisors and the desktop. Count five to fifteen minutes depending on your connection;
  3. the machine reboots on its own, and shows the login screen.

That reboot is not an incident: group membership and the desktop only take effect at the next boot. If something fails, the machine says so and starts over at the next boot: it never marks itself configured wrongly. The usual cause is a missing network in the virtual machine; check its network adapter in its settings (Network Adapter, connected, in NAT), then restart it.

The appliance's XFCE desktop, with a terminal open and the launcher bar at the bottom of the screen

Step 6: log in

The appliance's login screen, waiting for the student user

The user is student and the password dsoxlab. The machine requires you to change that password right away, and that is deliberate: a password shipped with a public image is secret to nobody. It asks for the old one, then the new one twice. You land on an XFCE desktop; the terminal is in the bottom bar, second icon.

Is your keyboard AZERTY?

The appliance starts with a US keyboard (QWERTY), because the same image serves learners who are not all French speakers. On an AZERTY keyboard, the a, q, z, w, m keys and the digit row therefore do not type what is printed on them, right from the login screen. The dsoxlab password then looks rejected for no reason: the A key of your keyboard sends a q.

The fix takes three moves, in this order:

  1. On the login screen, type dsoxlqb on your AZERTY keyboard: the key printed Q produces the expected a, and the system does receive dsoxlab.
  2. At the forced password change, pick a temporary password without a, q, z, w, m, digits or symbols: the other letters sit at the same place on both keyboards, and the password stays valid after the switch.
  3. On the desktop, open the Applications menu, then Settings, Keyboard, Layout tab. Turn off Use system defaults, click Add under Keyboard layout, pick French, then remove the English (US) layout. The desktop switches to AZERTY at once.

That setting only covers your session: the login screen and the console stay in QWERTY. To switch them too, the system layout lives in the file /etc/default/keyboard, which the display server reads at boot. Type in the terminal, now in AZERTY:

Terminal window
sudo sed -i 's/^XKBLAYOUT=.*/XKBLAYOUT="fr"/' /etc/default/keyboard
grep XKBLAYOUT /etc/default/keyboard # must print XKBLAYOUT="fr"
sudo reboot

After the reboot, the login screen is in AZERTY. Finally choose your permanent password with passwd, now that every key types what it shows.

Step 7: play a first lab

In the terminal, the demonstration lab confirms that everything works before you invest in a full catalogue. It needs neither a virtual machine nor a container:

Terminal window
dsoxlab demo # installs a one-lab demonstration catalogue
cd ~/.local/share/dsoxlab/demo
dsoxlab course premiers-pas # the lesson
dsoxlab run premiers-pas # drops you into the working directory
dsoxlab challenge premiers-pas # the mission
dsoxlab check premiers-pas # the tests, and the score

Then install a real catalogue. The doctor command says what this machine can do and what is missing, and names the only choice left when the catalogue offers several hypervisors:

Terminal window
dsoxlab catalog add https://github.com/stephrobert/linux-dsoxlab-training
dsoxlab doctor # what this machine can do, and what is missing
dsoxlab list-labs # the catalogue's 89 labs
dsoxlab use --provider kvm # the choice doctor names
dsoxlab start <lab-id> # context, prerequisites, infrastructure, session

On a vm lab, start shows its required checks green, then Terraform brings up the lab's machines: VMs inside the VM, which is exactly what step 4 made possible.

A vm lab running in the appliance's terminal: required checks green, then Terraform bringing the machines up

What is inside

The image is a minimal Debian 13, plus what a lab workstation needs: git, curl, vim, python3, man, Ansible and Terraform. After the first boot, dsoxlab, the hypervisors and the desktop are added. Documentation and locales other than English and French are excluded from the packages, which is most of the half gigabyte you do not download.

Known limits

Four limits are worth knowing before building on it.

The appliance serves one user on one machine: it is not a shared classroom server, and a trainer serving several learners should read the lesson Bringing up the infrastructure of vm labs instead.

The disk declares 64 GB, and it is thin: space is only taken on your computer as the disk fills. The machines of the Kubernetes catalogue declare 45 GB for the kubeadm cluster, and 30 GB more for the kind host, which makes 75 GB for the whole catalogue. Their volumes grow with use and are not filled in advance, so these sizes are a ceiling; playing one group of machines at a time also keeps the declared disk under 64 GB. Keep an eye on your free space.

The memory calls for the same reflex. Set to 8192 MB, the appliance should be able to play the 137 labs of the Kubernetes catalogue that rely on the catalogue's three base machines, its "core" (recount of 2026-11-16, see Sizing your machine), one group of machines at a time: dsoxlab start <lab> only counts the lab's machines, and the most demanding one needs 6656 MB. But start never tears down the machines of other labs: a machine left running keeps its memory. At the end of the Fundamentals module of the Kubernetes training, the kind host (4096 MB) is still running, and the first kubeadm lab asks for 4096 MB more. It is therefore better to free the kind host first: dsoxlab destroy tears down all the machines of the catalogue, then dsoxlab start <lab> brings up what is needed. This is advice based on how start works, not a measurement; only the two labs of the Fundamentals module were measured.

With an old version of dsoxlab, start checks the 10752 MB of the catalogue's three machines and stops with code 2, even for a lab that targets a single machine. To find your version, type dsoxlab --version, and update with uv tool upgrade dsoxlab.

On a computer with 8 GB in total, the appliance goes down to 4096 MB, a VM too cramped for vm labs, as Choosing a machine to train with dsoxlab explains.

No automatic update is planned: uv tool upgrade dsoxlab updates the tool inside an appliance already installed. At first boot, the appliance installs the latest published version of dsoxlab, whereas an appliance that is already configured keeps its version until you run that command. Importing a newer image creates a new machine: it installs the latest version of dsoxlab at its first boot, but does not update the old one.

Troubleshooting

Each line names the most frequent cause and the gesture that fixes it. When none matches, dsoxlab support --issue fills in an anonymised diagnostic report and opens the issue in the right place: a report beats a workaround.

SymptomMost frequent causeGesture
The machine stays on a console, no desktopThe first boot did not completeIt starts over at the next boot: restart the VM after checking its network
"Temporary failure in name resolution"The VM has no networkVM settings, Network Adapter connected in NAT
vm labs freeze, one core at 100 %, then the appliance hangsThe appliance runs in VirtualBoxImport it into VMware; on Windows 11, go through WSL2 instead
dsoxlab doctor says nested virtualisation is missingIt is enabled on your computer, not inside the VMStep 4, appliance powered off
doctor run on its own says "RAM … MB free / … MB declared"doctor run on its own counts the whole catalogue: it compares memory with the total of the entire catalogue, 10752 MB for KubernetesRun dsoxlab start <lab>: it only counts the lab's machines
start <lab> stops with code 2 on memoryThe VM is too small for this lab, or machines of another lab are still running (start never tears them down), or dsoxlab is too old and counts the whole cataloguedsoxlab destroy, then dsoxlab start <lab>; dsoxlab --version, then uv tool upgrade dsoxlab; otherwise increase the VM's memory, or play shell labs
The import fails on an OVF errorIncomplete downloadCheck the SHA256 digest again
VMware rejects the import: "SHA256 digest of file does not match manifest"Old image kept locally, from before the fixTake the .ova of the current release
The dsoxlab password is rejectedAZERTY keyboard, appliance in QWERTYType dsoxlqb, then switch the keyboard (step 6)

Key points

  • The appliance mainly serves on an Intel Mac; on Windows 11, dsoxlab installs in WSL2, and on Linux, uv tool install dsoxlab remains the right answer.
  • A release does not always carry an image: take the most recent one whose Assets section lists a dsoxlab-appliance-<version>.ova. The .ova serves VMware Workstation and Fusion, the .qcow2 KVM and Proxmox, and SHA256SUMS comes with them.
  • No VirtualBox: vm labs get stuck there.
  • The digest is verified before the import, never after: a 450 MiB image started without a check contradicts everything the site teaches. The reference digest is the one in the release's SHA256SUMS.
  • The keyboard is US at first: on AZERTY, type dsoxlqb at login, then switch the layout in XFCE and in /etc/default/keyboard.
  • It pins nothing: the first boot installs the latest dsoxlab and, if the host allows it, the hypervisors.
  • 4 CPUs and 8 GB are set for the Linux catalogue, not picked at random; with 8 GB in total on the host, go down to 4096 MB: shell labs work, vm labs may not fit, and dsoxlab start <lab> will say so.
  • At 8192 MB, the appliance should be able to play the 137 labs of the Kubernetes catalogue that rely on the catalogue's base machines, one group of machines at a time: start <lab> only counts the lab's machines, 6656 MB at most, but it never tears down those of other labs, so run dsoxlab destroy first. uv tool upgrade dsoxlab updates an appliance that is already configured.
  • Nested virtualisation is enabled on the host, appliance powered off, in VMware's processor settings.
  • The first boot takes five to fifteen minutes and reboots on its own; a failure replays at the next boot.