Vaibhav Kumar
Vaibhav Kumar

Reputation: 849

Pull image from local docker registry with IP

I have created a locale docker registry in my system and pushed one image into it. When I tried to pull image as "docker pull localhost:5000/image_name", it pulls the images from registry. But if I try to pull image as "docker pull 192.168.2.54:5000/image_name" , it gives an error as "Error response from daemon: Get https://192.168.2.54:5000/v1/_ping: EOF ".

Upvotes: 4

Views: 4454

Answers (1)

Matthew
Matthew

Reputation: 11397

It's because you're not running a secure registry. See the notes here about how to use an insecure registry:

https://docs.docker.com/registry/insecure/

Upvotes: 3

Related Questions