Details
Description
Hi,
I have Nexus OSS 3.6.0-02 installed running on the context path http://10.105.139.17:8082/nexus
I have:
- created a docker proxy repository to docker hub listening on 10.105.139.17:18001
- configured the docker client to allow insecure calls to the docker repository 10.105.139.17:18001
I can perform a search for jenkins docker images and get a resultset via:
[root@misvcdalmsndswa1 ~]# docker search 10.105.139.17:18000/jenkins NAME DESCRIPTION STARS OFFICIAL AUTOMATED jenkins Official Jenkins Docker image 3131 [OK] jenkinsci/jenkins Jenkins Continuous Integration and Deliver... 300 jenkins/jenkins The leading open source automation server 230 evarga/jenkins-slave This is a basic container to be used as a ... 103 [OK] stephenreed/jenkins-java8-maven-git Automated build that provides a continuous... 74 [OK] jenkinsci/jnlp-slave A Jenkins slave using JNLP to establish co... 66 [OK] jenkinsci/blueocean https://jenkins.io/projects/blueocean 64 jenkinsci/slave Base Jenkins slave docker image 27 [OK] killercentury/jenkins-dind Generic Jenkins CI with Docker Engine and ... 27 [OK] jenkinsci/ssh-slave A Jenkins SSH Slave docker image 26 [OK] cloudbees/jenkins-enterprise CloudBees Jenkins Enterprise (Rolling rele... 25 [OK] aespinosa/jenkins Sets up a container with jenkins installed... 22 [OK] codetroopers/jenkins-slave-jdk8-android 21 [OK] csanchez/jenkins-swarm-slave 19 [OK] jenkinsci/workflow-demo Demo of Jenkins Workflow feature. 15 mesosphere/jenkins Jenkins on DC/OS Docker image. 11 appcontainers/jenkins Centos/Debian/Ubuntu Based Customizable Je... 10 [OK] blacklabelops/jenkins Docker Jenkins Swarm-Ready with HTTPS and ... 10 [OK] killercentury/jenkins-slave-dind Generic Jenkins Slave with Docker Engine a... 9 [OK] cloudbees/jenkins-operations-center CloudBees Jenkins Operation Center (Rollin... 8 [OK] fabric8/jenkins-docker Fabric8 Jenkins Docker Image 8 [OK] xmartlabs/jenkins-android Jenkins image for Android development. 8 [OK] bitnami/jenkins Bitnami Docker Image for Jenkins 7 [OK] mesosphere/jenkins-dind Docker in Docker image for running Docker ... 7 tianon/jenkins-slave SSHd, Java, and Docker-in-Docker specifica... 7 [OK]
but cannot perform a docker login or docker pull
[root@misvcdalmsndswa1 ~]# docker login 10.105.139.17:18001 Username (dockerclient): Password: Error response from daemon: Get http://10.105.139.17:18001/v2/: error parsing HTTP 400 response body: invalid character '<' looking for beginning of value: "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=ISO-8859-1\"/>\n<title>Error 400 </title>\n</head>\n<body>\n<h2>HTTP ERROR: 400</h2>\n<p>Problem accessing /nexus/v2/token. Reason:\n<pre> Not a Docker request</pre></p>\n<hr /><a ref=\"http://eclipse.org/jetty\">Powered by Jetty:// 9.3.20.v20170531</a><hr/>\n</body>\n</html>\n" [root@misvcdalmsndswa1 ~]# docker pull 10.105.139.17:18000/jenkins Using default tag: latest Error response from daemon: Get http://10.105.139.17:18000/v2/jenkins/manifests/latest: error parsing HTTP 400 response body: invalid character '<' looking for beginning of value: "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=ISO-8859-1\"/>\n<title>Error 400 </title>\n</head>\n<body>\n<h2>HTTP ERROR: 400</h2>\n<p>Problem accessing /nexus/v2/token. Reason:\n<pre> Not a Docker request</pre></p>\n<hr /><a href=\"http://eclipse.org/jetty\">Powered by Jetty:// 9.3.20.v20170531</a><hr/>\n</body>\n</html>\n"
My docker client details are:
$ cat /etc/docker/daemon.json { "debug": true, "insecure-registries": [ "10.105.139.17:18001" ] } $ docker --version Docker version 17.06.2-ce, build cec0b72
Could you please confirm if this is a bug related to running Nexus OSS 3.6 on a context path /nexus or if this is a mis-configuration error.
Many Thanks
Chris
Attachments
Issue Links
- relates
-
NEXUS-13894 Docker unauthenticated access shows "unknown: unknown" console output
-
- Closed
-