mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-08 14:30:12 +01:00
FIX issue https://github.com/containers/podman-compose/issues/704 - Windows fix sock not working.
This commit is contained in:
parent
6103df78fb
commit
6c09ce710e
@ -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