Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow podman start to take environment variables #24875

Open
dengelt opened this issue Dec 19, 2024 · 0 comments
Open

Allow podman start to take environment variables #24875

dengelt opened this issue Dec 19, 2024 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@dengelt
Copy link

dengelt commented Dec 19, 2024

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.

@dengelt dengelt added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant