devcontainers / devcontainers/cli

Improve experience of publishing Features|Templates to Dockerhub

オープン
#476 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature-request
主要言語
TypeScript
スター
3k
フォーク
457
平均マージ
13時間 17分
マージ済み PR(30日)
6

説明

Reported in the [Dev Container Community Slack](https://github.com/orgs/devcontainers/discussions/3) [**(ref)**](https://github.slack.com/archives/C0431R35H37/p1680402927120119).

Dockerhub has a lot of special cases that this CLI's container registry implementation needs to support. One that I noticed is that the key name in the `~/.docker/config.json` is `"https://index.docker.io/v1/"`. This CLI currently uses this key to map to the published registry name - all other examples omit `https` and don't have any additional path (`v1`). Both of these components will need to be handled when building the URI

This could be lumped into https://github.com/devcontainers/cli/issues/468, as I think this is mostly an auth special case.

Once fixed, add regression testing to https://github.com/devcontainers/cli/blob/main/src/test/container-features/registryCompatibilityOCI.test.ts.

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

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

評価

この issue はまだ評価されていません。

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

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