Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-21482

Support Docker virtual manifest deletion

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.17.0
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:
    • Requirement Status:

      UNCOVERED

      Description

      When Docker Registry is deployed, you commonly configure a virtual repository to have a unique registry endpoint which support:

      • Publishing images (in local repository)
      • Pulling images (from remote repository)

      Some CI tools integration can provide some cleanup process, to delete images published during a build (ex: TeamCity Docker Support > Clean-up of images).

      This kind of feature is not usable because deleting an image manifest is currently not supported in Docker virtual repository.

      In this case, http 400 bad request with error message "Unable to delete a manifest from a virtual repository" in logs, and the detail of http request (TeamCity problem detail: TW-64777):

      DELETE|/api/docker/docker-virtual/v2/orga-test/docker-test/manifests/sha256:92c7f9c92844bbbb5d0a101b22f7c2a7949e40f8ea90c8b3bc396879d95e899a|HTTP/1.1|400|0
      

      If the deletion is done on an image path includeded in a local Docker repository, it would be nice to accept it (if user/token has permissions).

        Attachments

          Forms

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              axel3rd Alix Lourme
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  PagerDuty