From 8c3b7e6c54060565557b274b42ee5a6bdfaedd1c Mon Sep 17 00:00:00 2001 From: Christian W Date: Fri, 1 Nov 2019 22:41:45 +0100 Subject: [PATCH] Added mount option delegated and cached --- podman_compose.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/podman_compose.py b/podman_compose.py index 876ff16..4a32d8a 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -100,6 +100,8 @@ def parse_short_mount(mount_str, basedir): for opt in mount_opts: if opt=='ro': mount_opt_dict["read_only"]=True elif opt=='rw': mount_opt_dict["read_only"]=False + elif opt=='delegated': mount_opt_dict["delegated"]=dict(propagation=opt) + elif opt=='cached': mount_opt_dict["cached"]=dict(propagation=opt) elif propagation_re.match(opt): mount_opt_dict["bind"]=dict(propagation=opt) else: # TODO: ignore