Docker Community Forums

Share and learn in the Docker community.

Docker for mac can't 'docker pull'


(Hukanzen) #1

Hey .
I’m using docker for mac

Docker version 18.09.1, build 4c52b90

But I can’t docker pull for this error message.

$ docker pull golang
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: proxyconnect tcp: dial tcp: lookup gateway.docker.internal on 10.0.0.1:53: read udp 10.0.0.1:36540->10.0.0.1:53: read: connection refused

My /etc/resolve is here.

domain my.university.com
nameserver 8.8.8.8

How will can I do ?
Help!!


(Hukanzen) #2

That’s already been cleared up !
I made docker network by docker network create

$ docker network create  \
    --driver bridge  \
    --subnet 10.0.0.0/24  \
    --gateway 10.0.0.1  \
    fuga

Maybe my docker was about to connect 10.0.0.1, so it is connected fuga network.

Sorry !