docker desktop cannot connect to the docker daemon after docker update 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