- check version WSL
wsl --version - Update WSL to
v0.67.6wsl.exe --update --web-downloador microsoft/WSL - Edit file
sudo nano /etc/wsl.confand usingCTRL+Oto save andCTRL+Xto exit.
[boot]
systemd=true- Install Docker https://docs.docker.com/engine/install/ubuntu/
wsl.exe --shutdownafter reboot and checksystemctl list-unit-files --type=service- add vEthernet and
netsh interface ip add address "vEthernet (WSL)" 192.168.99.1 255.255.255.0sudo ip addr add 192.168.99.2/24 broadcast 192.168.99.255 dev eth0 label eth0:1;
wsl hostname -I
netsh interface portproxy add v4tov4 listenport=6443 listenaddress=0.0.0.0 connectport=6443 connectaddress=192.168.99.2