Project

Profile

Help

Story #4400

Story #6634: [EPIC] As a user I can export and import container content in the air-gapped environment

As a user, I can download Foreign layers

Added by amacdona@redhat.com over 1 year ago. Updated 6 months ago.

Status:
NEW
Priority:
Low
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

A new field was added to skip foreign layers with this issue: https://pulp.plan.io/issues/4171

The new field `include_foreign_layers` defaults to False and is not included on the Serializer, so for now it will always skip.

This story will require

  1. Add `include_foreign_layers` to the serializer
  2. add logic to download the foreign layer, which will need to retrieve the layer with an absolute url instead of a relative url.

History

#1 Updated by jortel@redhat.com over 1 year ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

#2 Updated by amacdona@redhat.com over 1 year ago

  • Priority changed from Normal to Low

There is some complexity for implementing this. If we sync foreign layers, we will have to modify the manifests so they will not be treated as foreign layers by the client. This has implications for signed layers because the digests will change.

Because of this, I am prioritizing this as LOW. If users need this, please add your use case here.

#3 Updated by amacdona@redhat.com over 1 year ago

  • Groomed changed from Yes to No
  • Sprint Candidate changed from Yes to No

#4 Updated by ipanova@redhat.com over 1 year ago

https://docs.docker.com/registry/deploying/#considerations-for-air-gapped-registries
https://github.com/moby/moby/pull/33151/files#diff-77a3b9683ea5b78ddbf146c0cbad74e1R33

there is a daemon option allow-nondistributable-artifacts, if it is set then during image pull, client will try to pull from the registry and in case of failure it will follow the url.

#5 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#6 Updated by ipanova@redhat.com about 1 year ago

  • Subject changed from As a user, I can sync from a repository with Forein Layers to As a user, I can download Foreign layers

#7 Updated by ipanova@redhat.com 11 months ago

  • Project changed from Docker Support to Container Support

#8 Updated by ipanova@redhat.com 6 months ago

  • Parent task set to #6634

Please register to edit this issue

Also available in: Atom PDF