Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-9917

Received unexpected HTTP status: 500 Server Error when pushing with docker

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-m7
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:
      None
    • Environment:
      centos7,
       docker -v
      Docker version 1.8.2-el7.centos, build a01dc02/1.8.2

      Description

      Trying to push will end in "Received unexpected HTTP status: 500 Server Error".
      Fails with m7.

       docker tag f787ea80602d localhost:18443/nexus3
       docker push localhost:18443/nexus3
      
      The push refers to a repository [localhost:18443/nexus3] (len: 1)
      f787ea80602d: Pushing 1.024 kB
      Received unexpected HTTP status: 500 Server Error
      

      Nexus log:

      WARN  [qtp2059872426-307] admin org.sonatype.nexus.repository.docker.internal.V2Handlers - Error: PUT /v2/nexus3/blobs/uploads/f9ddae5b-f7f3-406e-9b23-3e7138ab245f
      org.sonatype.nexus.repository.InvalidContentException: Content type could not be determined: v2/-/blobs/sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef
      

      My Dokerfile in attachments.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              hashcv Valentyn Tymku
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title