Sonatype nexus access issue

Error response from daemon: Get https://10.10.10.25:1234/v2/: http: server gave HTTP response to HTTPS client
This error came while i tried to access nexus installed at 10.10.10.25 .i tried to docker login from 10.10.10.30 through command line .The telnet is happening and the ports are added in the fw. also the 10.10.10.25:1234 has been added in the insecure registries section in the daemon.json file. Any one knows ,how to resolve this?

Unfortunately Docker prevents using authentication with insecure repositories.

Solved. We need to do certain configurations in the daemon file.Through http also,docker can communicate