mirror of
https://github.com/containers/podman-compose.git
synced 2025-01-22 05:49:04 +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,7 +159,8 @@ def parse_short_mount(mount_str, basedir):
|
||||
# User-relative path
|
||||
# - ~/configs:/etc/configs/:ro
|
||||
mount_type = "bind"
|
||||
mount_src = os.path.abspath(os.path.join(basedir, os.path.expanduser(mount_src)))
|
||||
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)))
|
||||
else:
|
||||
# Named volume
|
||||
# - datavolume:/var/lib/mysql
|
||||
|
Loading…
Reference in New Issue
Block a user