Docker Community Forums

Share and learn in the Docker community.

Cannot connect to the Docker daemon tcp://docker:2375

I am trying to run Ibm datapower (ibmcom/datapower) image using the command (docker run -it …) and get the following error message

“Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?”

My daemon is running in “tcp://localhost:2375” , but not sure why it is connecting to “tcp://docker:2375”

How do I change to connect to daemon in “tcp://localhost:2375” instead of “tcp://docker:2375”
I believe this is the issue but not sure.