Unclear what a type is when using docker inspect

オープン 初心者向け
#6,047 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker
領域
cli, documentation

調査の方向性

docker inspect --help と既存の --type オプションの説明から始めます。サポートされているオブジェクトの種類を特定し、すべての種類または一般的に使用される種類を一覧にするようヘルプの文言を更新します。--type に渡せる値がヘルプ出力から明確に分かれば完了です。

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

説明

area/ux kind/enhancement
Description

The documentation for --type just says Return JSON for specified type. Could we improve this to include all the types or at least some of the commonly used ones?

$ docker -v
Docker version 28.1.1, build 4eba377
$ docker inspect --help
Usage:  docker inspect [OPTIONS] NAME|ID [NAME|ID...]

Return low-level information on Docker objects

Options:
  -f, --format string   Format output using a custom template:
                        'json':             Print in JSON format
                        'TEMPLATE':         Print output using the given Go template.
                        Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates
  -s, --size            Display total file sizes if the type is container
      --type string     Return JSON for specified type
主要言語
Go
スター
6.1k
フォーク
2.2k
平均マージ
1日 15時間
マージ済み PR(30日)
43

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

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

はじめの一歩

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

docker/cli のほかの issue

docker/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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