This document covers
This document assumes you have your project located in drive C:.
Update 2026/03/03: no .kickstartconfig is required anymore. Device Mapping and localhost Network schould work out of the box.
wsl --set-version Ubuntu 2wsl --updatewsl --shutdownOpen the command line pompt and enter bash to enter the ubuntu shell
root, you need to create a unprivileged user account inside the shell.
Therefor execute:
adduser <username>
usermod -aG sudo <username>
exit
ubuntu config --default-user <username>
bash again: You should now be logged in as usersudo apt update && upgrade
sudo apt install docker.io
Warning: echo "export DOCKER_HOST=tcp://0.0.0.0:2375" >> ~/.kickstartconfig
echo "export KICKSTART_WIN_PATH=C:/" >> ~/.kickstartconfig*is no more reliable for windows. WSL does path mapping itself! Do no more use KICKSTART_WIN_PATH and do not overwrite DOCKER_HOST!
Done
Go back to getting started guide and follow the instructions.
To have vite / webpack recognize file changes (--watch - mode) it is mandatory to checkout
projects directly in wsl (instead of Windows).
This is because Windows files are mounted into wsl without file update notifiers.
So clone projects directly inside the WSL: /home/user/xyz instead of /mnt/c/.... The
IDE should recognize the path (tested with IntelliJ)
Kickstart complains about /opt beeing empty
This indicates, docker-daemon has no access to you local drive; Check if running
docker run -it -v /mnt/C/path/toWorkdir:/opt ubuntu bash works and the current path is mounted in /opt.
Solution: Open Docker for Windows. Go to Resources > File sharing. Remove all drives and add them again. You will be asked for your password. Access should be working right after.
Kickstart complains about ports beeing already in use
Kickstart normally requires ports 80,4000,4100,4200 not to be
assigned already. Use netstat -ab on the windows shell to
investigate the programs using these ports.