Project

Profile

Help

Story #3990

As a user, I can "docker pull" from a registry hosted by Pulp

Added by dkliban@redhat.com about 1 year ago. Updated about 10 hours ago.

Status:
MODIFIED
Priority:
Normal
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

Motivation:

Docker clients are designed to interact with a REST API provided by a Docker registry. In Pulp 2, the registry API was delivered by a separate application, Crane. Pulp 3's ability to serve custom live APIs has made it possible for Crane's feature set to be incorporated into the pulp_docker plugin.

Use cases:

As a user, I can use a DockerPublisher to create a publication.

As a user, I can create DockerDistribution and link it to a repository and publisher or a specific publication.

As a user, I can perform a "docker pull pulp-hostname:8000/some/relative/path"

As a user, I can perform a "docker pull pulp-hostname:8000/some/relative/path:someVersion"

Registry API requirements

The v2 registry API needs to minimally support the following endpoints.

/v2/ - Provides version support information for /v2 requests. Returns {}.

/v2/<some/relative/path>/manifests/<manifest-identifier> - Serve the manifest requested

/v2/<some/relative/path>/blobs/sha256:<sha256 checksum> - Serve the blob with the matching checksum


Subtasks

Task #3991: Add a DockerPublisher and DockerDistribution models, serializers, and viewsetsMODIFIEDdkliban@redhat.com

Actions
Task #3992: Add a publish task that creates publications of Docker repositoriesMODIFIEDdkliban@redhat.com

Actions
Task #3993: Add view for handling /v2 enpointMODIFIEDdkliban@redhat.com

Actions
Task #3994: Add view to support /v2/<some/path>/manifests/<manifest-identifier> endpointMODIFIEDdkliban@redhat.com

Actions
Task #3995: Add view to support /v2/<some/path>/blobs/sha256:<sha256 checksum> endpointMODIFIEDdkliban@redhat.com

Actions

History

#1 Updated by amacdona@redhat.com 12 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#2 Updated by dkliban@redhat.com 12 months ago

  • Status changed from ASSIGNED to MODIFIED

All the subtasks are at MODIFIED.

#3 Updated by bmbouter 7 months ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)

#4 Updated by ipanova@redhat.com about 10 hours ago

  • Project changed from Docker Support to Container Support

Please register to edit this issue

Also available in: Atom PDF