diff --git a/podman_compose.py b/podman_compose.py index 3bbad25..9373bfb 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -130,7 +130,7 @@ def parse_short_mount(mount_str, basedir): # User-relative path # - ~/configs:/etc/configs/:ro mount_type = "bind" - mount_src = os.path.realpath( + mount_src = os.path.abspath( os.path.join(basedir, os.path.expanduser(mount_src)) ) else: