using default tag: latest cannot connect to the docker daemon at tcp://localhost:2375 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