WSL and Docker for Windows: "Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?"

I was struggling with this, too, and the following worked for me:

Instead of: DOCKER_HOST=tcp://localhost:2375

Do: DOCKER_HOST=tcp://127.0.0.1:2375

Yeah, IP instead of “domain”… :slight_smile: