CDI: `--device` shell completion
Open
Nobody has claimed this yet.
area/completion
kind/feature
status/0-triage
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Description
Starting from 28.2.0 Docker exposes detected CDI devices in the GET /info endpoint: https://github.com/moby/moby/pull/49980
This could be used for the autocompletion of the --device flag.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing Docker CLI shell completion for the --device flag and how the GET /info response is consumed. Check how detected CDI devices are represented there, then verify that those devices are offered as --device completions when the feature is complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100