Download: https://cloud-images.ubuntu.com/releases/22.04/release/
Choose file: : 📦 ubuntu-22.04-server-cloudimg-amd64-root.tar.xz
wsl --import PMJ-Ubuntu-22.04 D:\WSL\PMJ-Ubuntu-22.04 C:\Users\rcvn\Downloads\ubuntu-22.04-server-cloudimg-amd64-root.tar.xz --version 2
wsl --set-default PMJ-Ubuntu-22.04
sudo ln -s '/mnt/c/Users/<username>/AppData/Local/Programs/Windsurf/bin/windsurf' /usr/local/bin/ws
Replace <username> with your current username, and after that, you can open a folder in Windsuft with the command:
ws .
https://dev.to/felipecrs/simply-run-docker-on-wsl2-3o8
Nếu sau khi cài xong chạy các lênh docker và docker compose bị báo lỗi:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Thì bạn hãy chị lệnh sau:
sudo service docker start
explorer.exe .