Feature request: add rtk rewrite for `docker inspect`
Open
Nobody has claimed this yet.
area:cli
effort-medium
enhancement
help wanted
priority:medium
- Dominant language
- Rust
- Stars
- 81.1k
- Forks
- 5.1k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 40
Description
Context
rtk discover --all shows docker inspect as the #5 unhandled command:
- 209 invocations in the last 30 days
- Typical usage: checking container config, networking, mounts, health status
Request
Add an RTK rewrite/filter for docker inspect output. The full JSON output is extremely verbose (often 200+ lines per container) and could be heavily reduced.
Example commands
docker inspect oysi_seo --format='{{.Config.Image}}'
docker inspect pricing_api --format '{{json .Config.Cmd}}'
docker inspect <container>
Found via rtk discover --all.
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 reproducing the listed docker inspect examples and reviewing the behavior surfaced by rtk discover --all. Define what the reduced default output should retain, how --format cases behave, and how completion can be verified for container configuration, networking, mounts, and health status.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, rust
- Domain
- cli, devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100