-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
generate systemd creates a systemd unit file with proxy environment variables #15523
Comments
Thanks for reaching out, @sstosh! Would an --env flag work for your use case? |
|
@sstosh, apologies for having been vague. The |
Yes, I think |
I think the flag might be useful but for your use case this doesn't seem right. You would have to change all untis when you change the proxy. |
|
Great idea, @Luap99 ! |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
If we want to control a container with systemd under proxy environment,
we need to add proxy environment variables to systemd unit.
Currently we have to add the environment manually.
I think it will be better to add proxy environment variables.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Add the proxy environment variables in [Service] section.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:podman version
Output of
podman info
:podman info
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (/~https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
fedora36, KVM
The text was updated successfully, but these errors were encountered: