Skip to content

Conversation

aholthagerty
Copy link

updated call to os.path.realpath inside assert_volumes to be os.path.abspath

Fixes #1290

Contributor Checklist:

If this PR adds a new feature that improves compatibility with docker-compose, please add a link
to the exact part of compose spec that the PR touches.

For any user-visible change please add a release note to newsfragments directory, e.g.
newsfragments/my_feature.feature. See newsfragments/README.md for more details.

All changes require additional unit tests.

updated call to os.path.realpath inside assert_volumes to be os.path.abspath

Fixes containers#1290

Signed-off-by: Alan Holt <aholt@hagerty.com>
@p12tic
Copy link
Collaborator

p12tic commented Aug 21, 2025

Looks good. Would it be possible to write an integration test for this?

Signed-off-by: Alan Holt <aholt@hagerty.com>
@aholthagerty
Copy link
Author

Looks good. Would it be possible to write an integration test for this?

Added!

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.

volume utilizing /var/run/docker.sock is improperly resolved using realpath, resulting in errors on MacOS
2 participants