Skip to content

feat(container): add podman rewrite support#2569

Open
YOMXXX wants to merge 1 commit into
rtk-ai:developfrom
YOMXXX:fix/issue-2548-podman-support
Open

feat(container): add podman rewrite support#2569
YOMXXX wants to merge 1 commit into
rtk-ai:developfrom
YOMXXX:fix/issue-2548-podman-support

Conversation

@YOMXXX

@YOMXXX YOMXXX commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add podman rewrite rules so direct podman ps/images/logs/run/exec/build/compose ... invocations route through RTK.
  • Add an rtk podman CLI path that reuses the existing docker/container formatters while executing the podman binary.
  • Generalize container tracking labels, output prefixes, compose execution, and passthrough routing for docker vs podman.
  • Add regression coverage for podman classification, rewrite, compose rewrite, and CLI parsing.

Fixes #2548

Verification

  • cargo +1.93.0 test podman -- --nocapture
  • cargo +1.93.0 test docker -- --nocapture
  • cargo +1.93.0 test container -- --nocapture
  • cargo +1.93.0 test every_subcommand -- --nocapture
  • cargo +1.93.0 run --quiet -- rewrite "podman ps" -> prints rtk podman ps and exits 3 per Ask verdict protocol
  • cargo +1.93.0 fmt --all -- --check
  • cargo +1.93.0 clippy --all-targets
  • cargo +1.93.0 test --all -- --skip small_grep_not_worse_than_plain
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add podman support (commands using podman directly bypass RTK)

1 participant