rtk-ai/rtk

Feature request: add rtk rewrite for `docker inspect`

Open

#279 创建于 2026年2月28日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (2,914 fork)batch import
area:clieffort-mediumenhancementhelp wantedpriority:medium

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

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.

贡献者指南