Cannot connect to the Docker daemon at tcp://localhost:2375 wsl code example
Example: WSL connect docker daemon to docker for windows
echo "export DOCKER_HOST=tcp://localhost:2375" >> ~/.bashrc && source ~/.bashrc
echo "export DOCKER_HOST=tcp://localhost:2375" >> ~/.bashrc && source ~/.bashrc