-
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
Pass proxy information into Podman Machine VMs #12739
Comments
@baude @ashley-cui PTAL |
@flouthoc PTAL |
+1 for this, I'm sure a lot of corporate users are looking at podman as an option with the docker grace period ending soon. |
@flouthoc , any trick to get this working? I've cloned, run a build for darwin and have done a fresh init, podman server version does report older however so I might have missed a step.
|
@ctml91 Your podman machine is still I am not sure if |
@flouthoc where is the
I'm able to start a machine with
I think this is because ignition sets the variables in I think for this to work correctly it would need to either create a systemd service drop-in with |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
Podman often has to run behind an http/https proxy, often in corporate environments. This proxy may or may not include SSL inspection capabilities, requiring a trusted SSL CA certificate to be added to a system's trust store.
Minikube solves the first part of this by detecting the standard proxy variables (
HTTP_PROXY
HTTPS_PROXY
NO_PROXY
http_proxy
https_proxy
no_proxy
) and injecting them into the minikube machine at start:I propose adopting a similar strategy, using the ignition template auto-generated for
podman machine
, with the additional feature of adding a trusted CA certificate from the openssl standard environment variableSSL_CERT_FILE
.On start,
podman machine
should detect the presence of these settings and do the following:HTTP_PROXY
/etc variables into the machine's systemd environment, so the podman process inside the machine can pull images/make other requests.SSL_CERT_FILE
on the host into the podman machine's OS trust store, overriding the built-in single-file trust store certificate.SSL_CERT_FILE
is chosen because it is a well-known environment variable name used to specify a trust store. It could also be used for other SSL requests made by podman outside of the machine instance.The text was updated successfully, but these errors were encountered: