rtk-ai/rtk
Vedi su GitHubAdd support for docker compose (build, up, exec, ps, restart)
Open
#1727 aperta il 5 mag 2026
area:clienhancementhelp wantedpriority:medium
Metriche repository
- Star
- (48.085 star)
- Metriche merge PR
- (Merge medio 11g 1h) (45 PR mergiate in 30 g)
Descrizione
Problem
rtk discover flagged docker-compose as my single largest unhandled command surface — across 30 days I had:
docker compose ...— 724 invocationsdocker-compose build— 222docker-compose up— 194docker-compose exec— 185docker-compose ps— 101
Total: ~1,426 invocations not benefiting from RTK. docker exec is already handled (rtk docker), but the compose family isn't.
Proposal
A rtk compose <subcommand> (or auto-detection of docker compose ... / docker-compose ...) that compresses the same way rtk docker does:
build— collapse layer-cached steps, surface only actual build steps + warnings/errorsup/up -d— drop ASCII spinners and "Container ... Started" noise; one line per serviceps— same compact table style asrtk docker psexec— passthrough (no compression needed, but routes through hook)restart—ok <service>style, likertk git push
Why it matters
For projects on docker-compose, every up/build/ps cycle dumps hundreds of tokens of progress UI into Claude's context. Estimated savings on my usage alone: ~80% on build/up output.