Skip to content

[22.06 backport] Remove long-deprecated "arm" fallback#44414

Merged
tianon merged 1 commit into
moby:22.06from
thaJeztah:22.06_backport_rm_deprecated_arm_fallback
Nov 10, 2022
Merged

[22.06 backport] Remove long-deprecated "arm" fallback#44414
tianon merged 1 commit into
moby:22.06from
thaJeztah:22.06_backport_rm_deprecated_arm_fallback

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

This fallback is used when we filter the manifest list by the user-provided platform and find no matches such that we match the previous Docker behavior (before it supported variant matching). This has been deprecated long enough that I think it's time we finally stop supporting this weird fallback, especially since it makes for buggy behavior like docker pull --platform linux/arm/v5 alpine:3.16 leading to a linux/arm/v6 image being pulled (I specified a variant, every manifest list entry specifies a variant, so clearly the only behavior I as a user could reasonably expect is an error that linux/arm/v5 is not supported, but instead I get an explicitly incompatible image despite doing everything I as a user can to prevent that situation).

(cherry picked from commit 5bc17c3)

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

This fallback is used when we filter the manifest list by the user-provided platform and find no matches such that we match the previous Docker behavior (before it supported variant matching).  This has been deprecated long enough that I think it's time we finally stop supporting this weird fallback, especially since it makes for buggy behavior like `docker pull --platform linux/arm/v5 alpine:3.16` leading to a `linux/arm/v6` image being pulled (I specified a variant, every manifest list entry specifies a variant, so clearly the only behavior I as a user could reasonably expect is an error that `linux/arm/v5` is not supported, but instead I get an explicitly incompatible image despite doing everything I as a user can to prevent that situation).

Signed-off-by: Tianon Gravi <[email protected]>
(cherry picked from commit 5bc17c3)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 22.06.0 milestone Nov 5, 2022
@tianon tianon merged commit b76a60d into moby:22.06 Nov 10, 2022
@thaJeztah thaJeztah deleted the 22.06_backport_rm_deprecated_arm_fallback branch November 10, 2022 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants