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

Podman push of new image tag fails when docker cli push succeeds for the same actions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.28.1
    • Fix Version/s: 3.30.0
    • Component/s: Docker
    • Labels:
    • Notability:
      2

      Description

      Related to this specific reproduce are possibly these issues:

      NEXUS-24124
      NEXUS-24485
      NEXUS-25626

      When we retag and push an image into Nexus using podman cli
      but the same steps work absolutely fine if we use docker cli.

      Given a Hosted Docker repo with Deployment Policy Allow Once...and allowing latest tag redeployment is allowed, then

      For example, Below will FAIL

      Podman push of new tag FAIL
      # After pushing anomaly-detection:latest into a docker-hosted repo
      podman pull registry.example.com/anomaly-detection:latest
      # This tag 10-27-2020 is new and does not exist in the docker-hosted repo yet 
      podman tag registry.example.com/anomaly-detection:latest example.net/dcp/dcp/anomaly-detection:10-27-2020
      podman push example.net/dcp/dcp/anomaly-detection:10-27-2020
      

      But using the same with docker cli (below) would succeed

      Docker CLI push of new tag SUCCESS
      docker pull registry.example.com/anomaly-detection:latest
      docker tag registry.example.com/anomaly-detection:latest example.net/dcp/dcp/anomaly-detection:10-27-2020
      docker push example.net/dcp/dcp/anomaly-detection:10-27-2020
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aornatovskyy Anatoliy Ornatovskyy
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Rich Seddon Rich Seddon
              Team:
              NXRM - Trinity
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title