rtk-ai/rtk

Feature request: add rtk rewrite for `docker exec`

Open

#275 建立於 2026年2月28日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Rust (2,914 fork)batch import
area:clieffort-mediumenhancementhelp wantedpriority:high

倉庫指標

Star
 (48,085 star)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

Context

rtk discover --all shows docker exec as the #1 unhandled command across our sessions:

  • 1,953 invocations in the last 30 days
  • Typical usage: docker exec <container> nginx -s reload, docker exec <container> alembic upgrade head, etc.

Request

Add an RTK rewrite/filter for docker exec output to reduce token usage. The output of commands run inside containers is often verbose (full stack traces, log dumps, env dumps) and could benefit from RTK's filtering.

Example commands

docker exec oysi_static nginx -s reload
docker exec pricing_api alembic upgrade head
docker exec <container> env

Found via rtk discover --all.

貢獻者指南