I have installed docker on windows and successfully brought up the bash shell window. However, when I test my installation with docker run hello-world
I get the following:
Post http://127.0.0.1:2375/v1.20/containers/create: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it.. * Are you trying to connect to a TLS-enabled daemon without TLS? * Is your docker daemon up and running?
I thought at first it was because I needed to be logged in to docker hub. When I tried docker login
and gave it my docker-hub account name, I got
The handle is invalid.
BTW, it did not ask me for my password. I am puzzled. Please advise.
A little more troubleshooting helped resolve the problem. Steps taken:
Quickstart terminal
again.In conclusion, it seems that retrying an install does change things (I do not know why) and secondly, anti-virus software can be a bother.