Error while pushing docker image to nexus

1,691 views
Skip to first unread message

Aditya C.S

unread,
Jan 27, 2017, 10:08:39 AM1/27/17
to Nexus Users
I have setup the SSL connections and I am able to login successfully to the repository. However, I am getting below error while pushing the image.

localhost # docker push nexus:18078/registry:2
The push refers to a repository [nexus:18078/registry]
5a4589035cef: Preparing 
89e2b62f47b6: Preparing 
c2c88ffd5307: Preparing 
c161fb93c3f2: Preparing 
7cbcbac42c44: Preparing 
error parsing HTTP 404 response body: invalid character '<' looking for beginning of value: "\n<!DOCTYPE html>\n<html>\n<head>\n  <title>404 - Nexus Repository Manager</title>\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n\n\n  <!--[if lt IE 9]>\n  <script>(new Image).src=\"https://nexus:18078/favicon.ico?3.2.0-01\"</script>\n  <![endif]-->\n  <link rel=\"icon\" type=\"image/png\" href=\"https://nexus:18078/favicon-32x32.png?3.2.0-01\" sizes=\"32x32\">\n  <link rel=\"mask-icon\" href=\"https://nexus:18078/safari-pinned-tab.svg?3.2.0-01\" color=\"#5bbad5\">\n  <link rel=\"icon\" type=\"image/png\" href=\"https://nexus:18078/favicon-16x16.png?3.2.0-01\" sizes=\"16x16\">\n  <link rel=\"shortcut icon\" href=\"https://nexus:18078/favicon.ico?3.2.0-01\">\n  <meta name=\"msapplication-TileImage\" content=\"https://nexus:18078/mstile-144x144.png?3.2.0-01\">\n  <meta name=\"msapplication-TileColor\" content=\"#00a300\">\n\n  <link rel=\"stylesheet\" type=\"text/css\" href=\"https://nexus:18078/static/css/nexus-content.css?3.2.0-01\"/>\n</head>\n<body>\n<div class=\"nexus-header\">\n  <a href=\"https://nexus:18078\">\n    <div class=\"product-logo\">\n      <img src=\"https://nexus:18078/static/images/nexus.png?3.2.0-01\"/>\n    </div>\n    <div class=\"product-id\">\n      <div class=\"product-id__line-1\">\n        <span class=\"product-name\">Nexus Repository Manager</span>\n      </div>\n      <div class=\"product-id__line-2\">\n        <span class=\"product-spec\">OSS 3.2.0-01</span>\n      </div>\n    </div>\n  </a>\n</div>\n\n<div class=\"nexus-body\">\n  <div class=\"content-header\">\n    <img src=\"https://nexus:18078/static/rapture/resources/icons/x32/exclamation.png?3.2.0-01\"/>\n    <span class=\"title\">Error 404</span>\n    <span class=\"description\">Not Found</span>\n  </div>\n  <div class=\"content-body\">\n    <div class=\"content-section\">\n      Not Found\n    </div>\n      </div>\n</div>\n</body>\n</html>\n\n"


Please help.

Thanks and Regards,
Aditya C S

Michael Prescott

unread,
Jan 27, 2017, 11:39:58 AM1/27/17
to Aditya C.S, Nexus Users
Aditya,

It's hard to tell just from the client-side log. Could you file an issue at:


What will help us most is if you reproduce the problem, get Nexus to build a support zip, then attach it to the issue. (The default issue permission means only we will see it.)

Regards,

Michael

--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/382de885-1fdd-40cc-ab76-242aca0aedf1%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.

Kelly Robinson

unread,
Jan 27, 2017, 11:47:43 AM1/27/17
to Michael Prescott, Aditya C.S, Nexus Users
Aditya,
If you could also include details of which versions of Docker and Nexus you're using, that would be very helpful.

Aditya C.S

unread,
Jan 27, 2017, 1:47:37 PM1/27/17
to Nexus Users, mpre...@sonatype.com, adity...@gmail.com
Mistake from my side. I was trying to push to a "group" instead of "hosted" repository. Sorry for the inconvenience

Regards,
Aditya C S
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.

--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.

To post to this group, send email to nexus...@glists.sonatype.com.
Reply all
Reply to author
Forward
0 new messages