Bug 2024786 - env vars don't work with podman-compose run
Summary: env vars don't work with podman-compose run
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: podman-compose
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-19 02:16 UTC by Sam Fowler
Modified: 2021-12-02 02:02 UTC (History)
1 user (show)

Fixed In Version: podman-compose-0.1.8-1.fc35 podman-compose-0.1.8-1.fc34
Clone Of:
Environment:
Last Closed: 2021-12-02 01:14:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.