Skip to content

feat(container): add podman rewrite support - #2569

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

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

@pprkut

pprkut commented Aug 21, 2026

Copy link
Copy Markdown

I rebased this locally against 0.45.0 and besides some rebase conflicts in src/cmds/cloud/container.rs I noticed two additional places that would need podman adjustments:

@rtk-release-bot

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale due to 90 days of inactivity. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. Your contribution is very much appreciated — we're sorry we haven't been able to review it yet.

@rtk-release-bot

Copy link
Copy Markdown
Contributor

Closing this pull request after a prolonged period of inactivity. If this is still relevant, please ask for it to be reopened. Thank you!

@rtk-release-bot rtk-release-bot Bot closed this Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add podman support (commands using podman directly bypass RTK)

2 participants