mirror of
https://github.com/containers/podman-compose.git
synced 2025-05-18 21:20:53 +02:00
Merge pull request #905 from acotty/main
FIX issue https://github.com/containers/podman-compose/issues/704 - Windows fix sock not working.
This commit is contained in:
commit
9a5b43907f
@ -159,6 +159,7 @@ def parse_short_mount(mount_str, basedir):
|
|||||||
# User-relative path
|
# User-relative path
|
||||||
# - ~/configs:/etc/configs/:ro
|
# - ~/configs:/etc/configs/:ro
|
||||||
mount_type = "bind"
|
mount_type = "bind"
|
||||||
|
if os.name != 'nt' or (os.name == 'nt' and ".sock" not in mount_src):
|
||||||
mount_src = os.path.abspath(os.path.join(basedir, os.path.expanduser(mount_src)))
|
mount_src = os.path.abspath(os.path.join(basedir, os.path.expanduser(mount_src)))
|
||||||
else:
|
else:
|
||||||
# Named volume
|
# Named volume
|
||||||
|
Loading…
Reference in New Issue
Block a user