-
Notifications
You must be signed in to change notification settings - Fork 509
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
Relative Paths To Compose File Fail in 1.3.0 #1109
Comments
Also running into this. Seems to be the same issue as #1059? |
Fundamentally, this bug is caused by the podman-compose/podman_compose.py Lines 1928 to 1929 in 51d180d
To illustrate, consider the
However, this bug was surfaced by the removal of the line normalizing compose files to absolute paths in #993. Before this line was removed, the absolute file paths would still work fine after the The real fix is probably to remove that Is there anyone with more historical knowledge of the project that can weigh in on which is preferred? Perhaps @p12tic, who authored the change making files relative again? |
Bug on podman-compose 1.3.0: containers/podman-compose#1109 Signed-off-by: Ronen <ravraham@redhat.com>
Bug on podman-compose 1.3.0: containers/podman-compose#1109 Signed-off-by: Ronen <ravraham@redhat.com>
Describe the bug
Starting in podman-compose 1.3.0, compose files fail to open when provided as a relative path.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The build process begins following the instructions in the compose file
Actual behavior
A FileNotFoundError is returned
However, both local directory references (
podman-compose -f docker-compose.yml build
executed from/home/user/project/
) and absolute paths (podman-compose -f /home/user/project/docker-compose.yml build
executed from anywhere) work and read the compose file.Output
Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: