Skip to content

Commit 11e69c0

Browse files
committed
leak less into singularity hosted containers
1 parent 1e9b9c1 commit 11e69c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/singularity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def create_runtime(self, env, rm_container=True, record_container_id=False, cidf
151151
cidfile_prefix="", **kwargs):
152152
# type: (MutableMapping[Text, Text], bool, bool, Text, Text, **Any) -> List
153153

154-
runtime = [u"singularity", u"--quiet", u"exec"]
154+
runtime = [u"singularity", u"--quiet", u"exec", u"--contain"]
155155
runtime.append(u"--bind")
156156
runtime.append(
157157
u"%s:%s:rw" % (docker_windows_path_adjust(os.path.realpath(self.outdir)), self.builder.outdir))

0 commit comments

Comments
 (0)