Skip to content

Expand relative volume paths in config output - #1600

Open
mokibit wants to merge 1 commit into
containers:mainfrom
mokibit:config-relative-volume-paths
Open

mokibit wants to merge 1 commit into
containers:mainfrom
mokibit:config-relative-volume-paths

Conversation

@mokibit

@mokibit mokibit commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Before this change, podman-compose config left volume sources as relative strings. This broke external tools that parse the config output from a different working directory.
Now normalize_service_final() resolves both short and long syntax volume sources to absolute paths, matching docker-compose behavior.

Fixes #620

Before this change, `podman-compose config` left volume sources as
relative strings. This broke external tools that parse the config output
from a different working directory.
Now `normalize_service_final()` resolves both short and long syntax
volume sources to absolute paths, matching `docker-compose` behavior.

Signed-off-by: Monika Kairaityte <monika@kibit.lt>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

podman-compose config should expand relative path

1 participant