diff --git a/commons-lib/src/main/java/org/opencb/commons/utils/DockerUtils.java b/commons-lib/src/main/java/org/opencb/commons/utils/DockerUtils.java index d3c3cbb3..7a0fbf37 100644 --- a/commons-lib/src/main/java/org/opencb/commons/utils/DockerUtils.java +++ b/commons-lib/src/main/java/org/opencb/commons/utils/DockerUtils.java @@ -48,7 +48,13 @@ public static String buildCommandLine(String image, List binding : inputBindings) { commandLine.append("--mount type=bind,source=\"").append(binding.getKey()).append("\",target=\"").append(binding.getValue()) - .append("\" "); + .append("\",readonly "); } } commandLine.append("--mount type=bind,source=\"").append(outputBinding.getKey()).append("\",target=\"")