I currently have Docker Registry enabled in Jenkins which is running on Windows Host Operating System (with IP address 192.168.0.9). I have a Ubuntu 18.04 (as a Guest OS with IP address 192.168.56.101) which is serving as a Docker Host.
I have added the below line in file /etc/docker/daemon.json
{
“insecure-registries” : [ “192.168.0.9:9090” ]
}
When I try to login to the docker registry using the below command
docker login -u admin -p admin123 192.168.0.9:9090
I get the error : Error response from daemon: Get http://192.168.0.9:9090/v2/: EOF
Any help to resolve the above error?