docker-registry icon indicating copy to clipboard operation
docker-registry copied to clipboard

v1 ping attempt failed with timeout error if pull from multiple machine

Open nkwangleiGIT opened this issue 10 years ago • 1 comments

Hi,

I setup a private docker registry, and it's working well if pull from one docker client at one time. But if I did 'docker pull' from multiple docker client in the meanwhile, the later docker pull will get the error below afer 10-20 seconds

Error: v1 ping attempt failed with error: Get http://ip_docker_registry:5000/v1/_ping: dial tcp ip_docker_registry:5000: i/o timeout

And "curl http://ip_docker_registry:5000/v1/_ping" can work well after about 40 seconds, even it's some long time.

For now, I'm using dev mode(local file) as the image repository. Seems the timeout occurs on docker client who will do the pull, is there any way that we can set the timeout on the docker client side? or anything else I can do on docker registry server side?

Thanks.

nkwangleiGIT avatar Mar 11 '15 03:03 nkwangleiGIT

I met the same question

[root@centos-7 /]# docker push 10.145.157.98/nginx:latest FATA[0040] Error: v1 ping attempt failed with error: Get http://10.145.157.98/v1/_ping: read tcp 172.19.64.37:8080: i/o timeout

liucc52 avatar Apr 15 '15 07:04 liucc52