Note: Follow the linked instructions provided at each step precisely.
- Get the Container Tools extension in Visual Studio Code.
- Install Docker Engine.
- Hardware acceleration (optional). Depending on your graphics card, install one of the following:
- NVIDIA Container Toolkit
- AMD Container Toolkit (not tested).
- Run the test containers (both docker and GPU, if present) to make sure the system is setup correctly.
- Follow the Quick Start instructions on the main README page.
The following simplified diagram represents the intended layered environment:
flowchart LR
A["Host OS <br> (Windows 10 or 11)"] --> D["Docker Desktop <br> (Docker-WSL integration)"]
B --> C["MiRo Docker image <br> (Ubuntu 20.04)"]
A --> B["WSL distro <br> (e.g. Ubuntu 24.04)"]
D --> B
D --> C
- Install WSL2 (the terms WSL2 and WSL are used interchangeably).
- Install a Linux distro inside WSL. Ubuntu 24.04 is recommended, which you can get in a number of ways:
- By running
wsl --install -d Ubuntu-24.04. - Downloading from Windows Store.
- Or downloading directly from Canonical.
- By running
- Launch your chosen distro via WSL and set up your UNIX account and password.
- Install Docker Desktop on your host OS.
- In Docker Desktop settings, enable both "Use the WSL 2 based engine" and WSL integration with your WSL distro.
Inside the running WSL distro, do the following:
sudo apt update && sudo apt upgrade && sudo apt autoremove.sudo apt install mesa-utils x11-xserver-utils- Append
export LIBGL_ALWAYS_SOFTWARE="1"to your~/.bashrcfile. This will enable software rendering for GUI apps. - Unless you want to look into hardware rendering, you can now follow the Quick Start instructions on the main README page.
The following assumes you have a fairly modern GPU card, e.g. NVIDIA RTX series.
- Ensure your dGPU is always used (profile set to
performanceor manually select). - Install the latest graphics drivers.
- Add the following to your
~/.bashrc:
export LIBGL_ALWAYS_SOFTWARE=0
export LIBGL_ALWAYS_INDIRECT=0
export MESA_LOADER_DRIVER_OVERRIDE='d3d12'
export GALLIUM_DRIVER='d3d12'...
...
- Follow the steps 1-3 described in option 1.1 under Host OS
- Then, follow the steps in the Ubuntu section inside your WSL Ubuntu distro.
Follow the Ubuntu instructions above (skipping hardware acceleration).