Authortaffwarezz

VSCode WSL2 Exec format error

V

As the title say, I got this error today when trying to open VSCode from WSL2 terminal How do I fix it? First I remove vscode server installation folder on my home directory rm -rf ~/.vscode-server Logout from the wsl and then I turn off the WSL from windows terminal logout wsl --shutdown After that I start the WSL again and re run the code command code . Installing VS Code Server for x64...

Fix Error failed to solve with frontend dockerfile.v0 in WSL2

F

I got following error when trying to create a docker images in WSL2 failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: fork/exec /usr/bin/docker-credential-desktop.exe: exec format error, out: ` And to fix it, I need to export following environment variables in my terminal export DOCKER_BUILDKIT=0 export...