Skip to content

Allow podman start to take environment variables #24875

Closed
@dengelt

Description

@dengelt

Feature request description

podman start should be able to pass environment variables to the container. My use case is to turn DEBUG on/off for development, without recreating the container.

Suggest potential solution

Adding the same --env, -e=env flags as for podman run would solve the problem.

Have you considered any alternatives?

Recreating the container is a workaround, but that is annoying and cumbersome when you just want to pass a debugging flag once and the container is initially created and run by systemd or some other service management system.

Additional context

The same issue exists in docker since over 10 years, with overwhelming community demand but unwillingness from the developers to implement it.

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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions