Story #4244
Updated by ipanova@redhat.com over 5 years ago
Depending on the accept headers that Pulp registry will receive from the client( docker/podman pull) and depending on what Pulp registry has currently in its storage it will: 1) convert schema2--> schema1 2) convert manifest list by looking up the appropriate manifest for the amd64 platform and linux OS, rewrite that manifest into the old format if necessary, and return the result to the client. If no suitable manifest is found in the manifest list, the registry will return a 404 error. 3) schema1 is returned the way it is without conversion The conversion will be optional. There will be a boolean flag called for example 'schema_conversion` added as a parameter to the docker distribution [0] where its default value would be set to False. Conversion would happen only if enabled. [0] https://github.com/pulp/pulp_docker/blob/master/pulp_docker/app/models.py#L297 https://docs.docker.com/registry/spec/manifest-v2-2/#backward-compatibility