Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Fallback platforms feature

オープン
#7,080 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
docker, go
領域
cli

調査の方向性

この issue ではファイル、テスト、エントリーポイントが指定されていません。まず Docker CLI のイメージ pull におけるプラットフォーム選択と、既存の --platform の処理を追跡し、その後、オプションのフォールバックリストをどこに配置すべきかを判断してください。ネイティブプラットフォームに一致する manifest がない場合に、設定可能な順序付きリストが試行され、フォールバックの選択と失敗をカバーするテストがある状態を完了とします。

索引モデルが issue の本文から書いたものです。

説明

kind/feature status/0-triage
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

docker/cli のほかの issue

docker/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。