Bug 1782408
Summary: | [RFE] podman exec support for --env-file | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Alex Schultz <aschultz> |
Component: | podman | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.4 | CC: | bbaude, dwalsh, jligon, jnovy, johfulto, kanderso, lsm5, mheon, tsweeney, ypu |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | 8.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | podman-1.9.3 and newer | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-21 15:31:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alex Schultz
2019-12-11 15:04:11 UTC
Makes sense to me. Could you open an Issue on github for this. Should be a fairly easy thing to add. upstream pr -> https://github.com/containers/libpod/pull/4677 Moving to Post and assigning to Jindrich as the PR in comment 2 has merged with the fix. That PR is already a part of podman 1.6.4. Test with podman-1.9.3-2.module+el8.2.1+6867+366c07d6.x86_64 and the env-file works, so set this to verified. Details: # podman run -d --name test busybox top 6450cad3a1f5200c60d3513f2085263344098502629756f9d953fb883fe095e2 # podman exec --env-file envtest -it test /bin/sh / # echo $a $b hello world / # exit # cat envtest a=hello b=world Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:3053 |