docker / docker/cli

CDI: `--device` shell completion

Open
#6,152 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.