Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

[19.03 backport] distribution: modify warning logic when pulling v2 schema1 manifests#368

Merged
andrewhsu merged 1 commit intodocker-archive:19.03from
tiborvass:19.03-remove-warning-on-v2schema1-pull
Sep 20, 2019
Merged

[19.03 backport] distribution: modify warning logic when pulling v2 schema1 manifests#368
andrewhsu merged 1 commit intodocker-archive:19.03from
tiborvass:19.03-remove-warning-on-v2schema1-pull

Conversation

@tiborvass
Copy link
Copy Markdown

Clean cherry-pick of moby#39736

The warning on pull was incorrectly asking to contact registry admins.
It is kept on push however.

Pulling manifest lists with v2 schema1 manifests will not be supported thus
there is a warning for those, but wording changed to suggest repository author
to upgrade.

Finally, a milder warning on regular pull is kept ONLY for DockerHub users
in order to incite moving away from schema1.

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 647dfe9)
Signed-off-by: Tibor Vass <tibor@docker.com>
@tiborvass tiborvass added this to the 19.03.3 milestone Sep 19, 2019
Copy link
Copy Markdown

@andrewhsu andrewhsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on green

@andrewhsu andrewhsu merged commit 421a3aa into docker-archive:19.03 Sep 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants