Skip to content

--cidfile support for podman exec #21256

@findesgh

Description

@findesgh

Feature request description

I've had some situations, where being able to use the --cidfile option with podman exec would've been convenient. As far as I can tell, however, that is not possible, which strikes me as somewhat odd, since, e.g. stop, kill, rm and pause/unpause all support it (I just checked and attach apparently also does not support it).

Suggest potential solution

No response

Have you considered any alternatives?

Workarounds for this exist and are quite straight-forward. One can name a container or use external tools to extract an ID from a cid-file, i.e. this is certainly not a high priority issue.

Additional context

From a UX point of view one might argue that all options to identify a container to a command should be supported by all commands that take a container as argument so one might extend this issue to include attach (and possibly others I've overlooked?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.stale-issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions