Installation Steps - NeoDoggy/how-to-install-docker-on-windows-wsl GitHub Wiki
Install steps
First : Go here for installing docker desktop to your windows
Second : After restarting your computer, go to docker settings and check the Expose daemon on tcp://localhost:2375 without TLS
Third : After installing it (you may need to restart your computer), go to your ~/.profile and type in export DOCKER_HOST=127.0.0.1:2375
Four : Also, go to your ~/.bashrc and add in
PATH="$PATH:/mnt/c/Program\ Files/Docker/Docker/resources/bin" alias docker=docker.exe alias docker-machine=docker-machine.exe alias docker-compose=docker-compose.exe export DOCKER_HOST="tcp://localhost:2375"
Finally 👍 you're done, just reboot by typing in source ~/.profile and source ~/.bashrc and test docker with docker run hello-world