Skip to content

Add podman support (commands using podman directly bypass RTK) #2548

Open

Description

@WilliamSYamamoto

Summary

RTK proxies docker (rtk docker) but not podman. On macOS/Linux setups where the container engine is podman, commands invoked as podman … directly are not rewritten and bypass token filtering entirely.

Why it matters

Many environments alias docker → podman, but tooling and humans still call podman directly for engine-specific inspection (podman ps, podman logs, podman exec, podman rm, podman machine …). These are exactly the kind of verbose-output commands RTK is great at slimming.

rtk discover flagged this on a recent project — in a single session there were 8 direct podman calls (ps / exec / logs / rm) under "TOP UNHANDLED COMMANDS", none proxied:

podman ps     4    podman ps --format '{{.Names}} {{.Status}}'
podman rm     2    podman rm -f fv-postgres
podman exec   1    podman exec fv-postgres psql -U forcavendas ...
podman logs   1    podman logs fv-migrate

Request

Add a podman handler (ideally sharing the docker filter logic, since the CLIs are largely compatible — ps, logs, images, inspect, compose, etc.). Even mapping podman through the existing rtk docker formatter would capture most of the savings.

Environment

  • rtk version: rtk 0.42.4
  • podman 5.8.3 (with docker aliased to podman, but podman also called directly)
  • Platform: macOS (darwin)

Activity

  1. pszymkowiak commented on Jun 25, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    ✨ Category feature
    🟡 Priority medium
    🎯 Confidence 92%

    Summary

    Feature request to add a podman command handler that reuses existing docker filter logic; PR #2569 already in progress.

    📁 Relevant files
    • src/handlers/docker.rs
    • src/handlers/mod.rs
    • src/rewrite.rs

    Triaged automatically by wshm · This is an automated analysis, not a human review.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions