rtk-ai/rtk

Feature request: add rtk rewrite for `docker exec`

Open

#275 opened on 2026年2月28日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Rust (2,914 forks)batch import
area:clieffort-mediumenhancementhelp wantedpriority:high

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (平均マージ 11d 1h) (30d で 45 merged PRs)

説明

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.

コントリビューターガイド