Docker CE on RHEL 7


I installed Docker 17.09 on my RHEL 7 using docker-ce-17.09.0.ce-1.el7.centos.x86_64 rpm.
I’m able to start and stop docker daemon but getting issues while trying to connecting to JFrog artifactory where I created a docker registry.

I’m getting the below error while trying to login:

$ sudo docker login

Error response from daemon: login attempt to failed with status: 404 Not Found.

Point to note is that my registry name is /pathToMyRegistry but not sure how the server url is getting changed to /v2 in the errror.

I do not have access to internet in this box. I’m suspecting that this can be because of the default registry but not sure.

Any suggestions would be highly appreciated.