cli
cli copied to clipboard
docker run, create: add shell completion for CDI devices for "--device"
- fixes https://github.com/docker/cli/issues/6152
docker run, create: add shell completion for CDI devices for "--device"
With this patch:
docker info --format '{{json .DiscoveredDevices}}'
[{"Source":"cdi","ID":"docker.com/gpu=webgpu"}]
docker container create --device=<tab>
docker container create --device=docker.com/gpu=webgpu
docker run --device=docker.com/gpu=webgpu
docker run --device=<tab>
- How to verify it
- Human readable description for the release notes
Add shell completion for CDI devices for "--device" on `docker run` and `docker create`
- A picture of a cute animal (not mandatory but encouraged)
Codecov Report
:x: Patch coverage is 10.52632% with 17 lines in your changes missing coverage. Please review.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| cli/command/container/completion.go | 10.52% | 16 Missing and 1 partial :warning: |
:loudspeaker: Thoughts on this report? Let us know!