Brand-spanking-new-to-Docker Mac user here. I have Docker installed locally (which I can verify by running docker -v
). I have set up a private Docker Registry on a remote VM, say, myregistry.example.com:5000
. I have set it up properly (I think) using TLS (root CA cert) as well as with Basic Auth.
I would like to pull down an image from the official Docker Registry, say, ubuntu
, and push it to my remote/private registry.
But when I do a docker pull ubuntu
, I get the following error message:
myuser@mymachine:/tmp/docker$docker pull ubuntu
Using default tag: latest
Post http:///var/run/docker.sock/v1.20/images/create?fromImage=ubuntu%3Alatest: dial unix /var/run/docker.sock: no such file or directory.
* Are you trying to connect to a TLS-enabled daemon without TLS?
* Is your docker daemon up and running?
What’s going on here? And once I get past that, do I first need to login to my private registry to push
ubuntu
to it? Or will I be prompted for my Basic Auth credentials on push
?