Docker Community Forums

Share and learn in the Docker community.

Error Pulling private docker repository from mac Boot2Docker


(Yannickpascal) #1

From my mac, successfully install Boot2Docker and everything seems to work well… However when I try to pull a remote private repository using the following command: sudo docker pull xxxx/yyyy I get this error message: FATA[0000] Post http:///var/run/docker.sock/v1.16/images/create?fromImage=xxxx%2Fdev%3Alatest: dial unix /var/run/docker.sock: no such file or directory

When I try using this command docker pull xxxx/yyyy I got this error message: Pulling repository xxxx/yyyy FATA[0000] Error: image xxxx/yyyy:latest not found

Can anyone already experiment this error message from mac Boot2Docker ? Yes please let me know how to fix it.

Thanks.


(Sven Dowideit) #2

you can’t use sudo docker from your OSX box - the sudo bit is relevant to Linux boxes with a local Docker daemon.

The second error message looks more ok - its telling you that the Docker Hub doesn’t have an image called yyyy:latest owned by user xxxx

how are you specifying your local registry?