Skip to content

Commit 8c3b7e6

Browse files
Christian Wmuayyad-alsadi
Christian W
authored andcommitted
Added mount option delegated and cached
1 parent 147f0ae commit 8c3b7e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

podman_compose.py

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ def parse_short_mount(mount_str, basedir):
100100
for opt in mount_opts:
101101
if opt=='ro': mount_opt_dict["read_only"]=True
102102
elif opt=='rw': mount_opt_dict["read_only"]=False
103+
elif opt=='delegated': mount_opt_dict["delegated"]=dict(propagation=opt)
104+
elif opt=='cached': mount_opt_dict["cached"]=dict(propagation=opt)
103105
elif propagation_re.match(opt): mount_opt_dict["bind"]=dict(propagation=opt)
104106
else:
105107
# TODO: ignore

0 commit comments

Comments
 (0)