This file provides instructions for setting up the Docker container on Windows. If you do not already have Windows Subsystem for Linux (WSL) installed and KVM enabled, please follow the steps below.
wsl --install # Installs WSL with default configurationwsl -d Ubuntu # Open Ubuntu
sudo usermod -a -G kvm ${USER} # Add yourself to KVM groupAdd these two sections to the /etc/wsl.conf file:
[boot] command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'
[wsl2] nestedVirtualization = true
After installing WSL and KVM, you may need to restart your computer. Otherwise, the Docker container should be able to be built using WSL now.