Closed kajinamit closed 7 months ago
/approve /lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kajinamit, rhatdan
The full list of commands accepted by this bot can be found here.
The pull request process is described here
I wonder if I can request a new release so that this fix is available in a released version .
Should be a new release with podman 5.0 next week.
@umohnani8 PTAL
The PodmanClient class has its own mechanism to detect the default value for base_url if no specific value is provided. However this mechanism can't be used when creating an instance by from_env, because from_env requires (DOCKER|CONTAINER)_HOST environment.
This drops the validation from from_env, so that users can use from_env without explicitly setting the HOST environment.