Bug 2024786

Summary: env vars don't work with podman-compose run
Product: [Fedora] Fedora Reporter: Sam Fowler <sfowler>
Component: podman-composeAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: podman-compose-0.1.8-1.fc35 podman-compose-0.1.8-1.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-02 01:14:59 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 Sam Fowler 2021-11-19 02:16:19 UTC
Description of problem:

Env vars passed in with `podman-compose run -e` do nothing.

Version-Release number of selected component (if applicable):
podman-compose-0.1.7-4.git20210129.fc34.noarch

How reproducible:
Everytime


Steps to Reproduce:
1. podman-compose run -e FOO=bar --entrypoint env <service>
2. 
3.

Actual results:
FOO does not appear in output

Expected results:
FOO appears in output

Additional info:

Upstream fix (in 0.1.8): 

https://github.com/containers/podman-compose/commit/a7f97b6120963b529f3829a20d33e026c9a0ce05

Comment 1 Fedora Update System 2021-11-24 01:56:35 UTC
FEDORA-2021-cb1c3af3e4 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cb1c3af3e4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cb1c3af3e4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 2 Fedora Update System 2021-11-24 01:57:27 UTC
FEDORA-2021-079b142115 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-079b142115`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-079b142115

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2021-12-02 01:14:59 UTC
FEDORA-2021-079b142115 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2021-12-02 02:02:58 UTC
FEDORA-2021-cb1c3af3e4 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.