Docker Community Forums

Share and learn in the Docker community.

Insecure registry ubuntu 14.0.4 trusty request canceled time out awaiting headers

insecure-registry
docker

(Ankgupta067) #1

i created a registry using below command -

docker run -d -p 5000:5000 --restart=always --name registry registry

if i use command

Docker pull localhost:5000/…

everything works

but if i use

Docker pull ipaddress:5000/…

everything fails

i tried editing /etc/default/docker file with DOCKER_OPTS that made docker service to crash

i added /etc/docker/daemon.json file with insecure registry entries but even that i get below error on docker pull/push -

request canceled time out awaiting headers

i am stuck here need help


(Ankgupta067) #2

i was able to fix the issue it was due o missing no_proxy entry once i added everything worked smooth