docker - setting up in wsl

The purpose of this is to make docker available to wsl prompt such as ubuntu 24.04. Sometimes it can be time consuming to install another version of docker. Here we can simply make docker available to wsl by enabling certain configuration. 

To get started, please goto  General and check "Use the WSL" option. 

If it is already checked, proceed to the next step. 



Then goto Resource and depending on what wsl prompt that you have, you can switch docker on for that wsl. For example, I have Ubuntu and Ubuntu 24.04. Here I enable docker for ubuntu 24.04. 
You should be able to click "Apply and restart". 

If you can't, try restarting docker and go through the steps above again. 



Once you have successfully configure, you should goto your wsl command prompt and run "docker".


Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type