Fallback platforms feature
まだ誰も着手していません。
評価
調査の方向性
この issue ではファイル、テスト、エントリーポイントが指定されていません。まず Docker CLI のイメージ pull におけるプラットフォーム選択と、既存の --platform の処理を追跡し、その後、オプションのフォールバックリストをどこに配置すべきかを判断してください。ネイティブプラットフォームに一致する manifest がない場合に、設定可能な順序付きリストが試行され、フォールバックの選択と失敗をカバーするテストがある状態を完了とします。
索引モデルが issue の本文から書いたものです。
説明
Description
Many container images I uses are available for multiple platforms, most notably linux/amd64 and linux/arm64. On a current macbook any docker image pull will pull the linux/arm64 image - if that exists.
If that does not exist, pulling will fail with an error like:
no matching manifest for linux/arm64/v8 in the manifest list entries
I have enabled Rosetta on the macbook, will allows me to run linux/amd64 images. In almost all cases running a non-native linux/amd64 image is preferable over not being able to run the image at all.
So, if a normal image pull fails because there is not linux/arm64 image, then I will always have to manually add --platform linux/amd64 to the command.
It would be great if there was a optional/configurable list of fallback platforms that would be tried if the native platform isn't available.
- 主要言語
- Go
- スター
- 6.1k
- フォーク
- 2.2k
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 47
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/cli のほかの issue
-
kind/bug status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
kind/bug status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
kind/feature status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
kind/bug status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
googleapis/librarian#7670 · コメント 2 件 ·