fix wsl 2 network speed when using wifi: ---------------------------------------- netsh interface ipv4 show interfaces | findstr "Wi-Fi" 14 35 1500 connected Wi-Fi 2 netsh interface ipv4 set interface "Wi-Fi 2" forwarding=enable start up Ubuntu-22.04 WSL 2 instance: ------------------------------------- wsl --distribution Ubuntu-22.04 --exec dbus-launch true & wsl --distribution Ubuntu-22.04 --cd ~ install docker-ce in the Ubuntu-22.04 WSL 2 instance: ----------------------------------------------------- sudo -i apt-get -y update apt-get -y dist-upgrade exit exit wsl --terminate Ubuntu-22.04 wsl --distribution Ubuntu-22.04 --exec dbus-launch true & wsl --distribution Ubuntu-22.04 --cd ~ sudo -i apt-get -y install ca-certificates curl gnupg install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg chmod a+r /etc/apt/keyrings/docker.gpg echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" > /etc/apt/sources.list.d/docker.list apt-get -y update apt-cache madison docker-ce | awk '{ print $3 }' VERSION_STRING=5:26.0.0-1~ubuntu.22.04~jammy apt-get -y install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin docker-compose systemctl enable --now docker.service remove old container and image: ------------------------------- docker rm rockylinux-9-temp docker image rm rockylinux:9 build the rockylinux-9.tar to be used for import to WSL 2: ---------------------------------------------------------- (cmd prompt 1) docker run -it --name rockylinux-9-temp rockylinux:9 /bin/bash (cmd prompt 2) wsl --distribution Ubuntu-22.04 --cd ~ (cmd prompt 2) sudo -i (cmd prompt 2) rm -f install-gnome.sh (cmd prompt 2) wget https://akik.kapsi.fi/rocky/01_install-gnome.sh.txt (cmd prompt 2) mv 01_install-gnome.sh.txt install-gnome.sh (cmd prompt 2) docker cp install-gnome.sh rockylinux-9-temp:/root (cmd prompt 2) docker exec rockylinux-9-temp bash -c "chown root:root /root/install-gnome.sh" (cmd prompt 2) docker exec rockylinux-9-temp bash -c "chmod 755 /root/install-gnome.sh" (cmd prompt 2) exit (cmd prompt 2) exit (cmd prompt 1) exit the rockylinux-9-temp container (cmd prompt 1) docker export -o /mnt/c/Users/username/Downloads/rockylinux-9.tar rockylinux-9-temp (cmd prompt 1) exit (cmd prompt 1) exit install 7-zip from https://7-zip.org/ to "%ProgramFiles%"\7-zip --------------------------------------------------------------- gzip compress "%USERPROFILE%"\Downloads\rockylinux-9.tar file with 7-zip ------------------------------------------------------------------------