0xkoji
Posted on May 20, 2024
Step1. activate WSL2
Step2. update WSL2
wsl --update
Step3. install ubuntu
# check available distributions
wsl --list --online
# install 24.04
wsl --install -d Ubuntu-24.04
Step4. install docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# check docker version
docker -v
Step5. add your account to docker group
sudo groupadd docker
sudo usermod -aG docker $USER
Optional
change memory size
New-Item ~/.wslconfig
add memory info to .wslconfig
[wsl2]
memory=32GB
shutdown
wsl --shutdown
💖 💪 🙅 🚩
0xkoji
Posted on May 20, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.