-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
environment variable http_proxy cannot be overridden #6017
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Comments
openshift-ci-robot
added
the
kind/bug
Categorizes issue or PR as related to a bug.
label
Apr 28, 2020
Hmm. Sounds like a bug. For now, |
This works in podman 1.9
|
@rhatdan Nope, if it's set on the host, we can't override.
|
|
Ok so this sounds like a containers.conf thing? |
or the http_proxy flag - don't think that one is handled by containers.conf |
This was referenced Apr 28, 2020
Fixed in master and v1.9.2 |
github-actions
bot
added
the
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
label
Sep 23, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
Description
--env-host as no effect
http_proxy environment variable ignored.
Steps to reproduce the issue:
set http_proxy environment variable
podman run -dt --name test -e "http_proxy=http://1.1.1.1:1111" alpine:latest
podman exec -it test sh
env
Describe the results you received:
http_proxy takes on the host value regardless.
--env-host=false also has no effect
Describe the results you expected:
to change or unset it.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
physical hardware
The text was updated successfully, but these errors were encountered: