Expose declared VOLUME / default container data path in CLI
まだ誰も着手していません。
評価
調査の方向性
まず、イメージメタデータを報告する Docker CLI の出力または検査パスを特定し、ここで言及されている Dockerfile VOLUME 宣言および docker inspect JSON 出力と比較します。VOLUME を宣言するイメージが CLI でコンテナのデフォルトデータパスを明確に公開し、VOLUME を持たないイメージでは追加の出力が生成されなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
Overall, my recent experience with Docker has been really positive.
Compared to manually copying projects, managing plugins, and configuring environments, Docker feels refreshingly simple—spin up with one command, clean up with another.
It’s certainly much more comfortable than traditional deployment, though there are still a few rough edges that feel unnecessarily awkward.
The Dockerfile already declares VOLUME, and the official docs mention the default data directory.
Yet, figuring out which directory the container actually expectsstill requires parsing docker inspectJSON output or digging through documentation—this isn’t very elegant.
Most mature software (nginx, mysql, redis, even systemd) follows a simple rule:
‘Here’s the default. Use it, or override it if you want.’
Docker does the opposite: it hints that a default exists, but refuses to show it clearly.
What I’m asking for is very simple:
Image has a VOLUME→ tell me
No VOLUME→ quietly skip
This is probably about three lines of Go code in the CLI. 😏
If a default exists, the CLI should expose it as a first‑class citizen—not force users to play detective.”
- 主要言語
- 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 件 ·