Cannot connect to the Docker daemon at tcp://0.0.0.0:2375 when using WSL2 and Docker Desktop

When you were running Docker in WSL2 and got this error message “Cannot connect to the Docker daemon at tcp://0.0.0.0:2375. Is the docker daemon running?” Instead, turn on “Expose daemon on tcp://localhost:2375 without TLS” option and use the DOCKER_HOST variable which considers security risk. The best option is enabled WSL Integration in Docker Desktop. i.e.…