@@ -0,0 +1,893 @@
+package org.opencb.commons.utils;%0A%0Aimport org.apache.commons.lang3.tuple.Pair;%0Aimport org.opencb.commons.exec.Command;%0A%0Aimport java.util.List;%0A%0Apublic class DockerUtils %7B%0A%0A    public static void run(String image, List%3CPair%3CString, String%3E%3E bindings, String params) %7B%0A        // Docker run%0A        StringBuilder commandLine = new StringBuilder(%22docker run %22);%0A%0A        // Mount management (bindings)%0A        for (Pair%3CString, String%3E binding : bindings) %7B%0A            commandLine.append(%22--mount type=bind,source=%5C%22%22).append(binding.getLeft()).append(%22%5C%22,target=%5C%22%22).append(binding.getRight())%0A                    .append(%22%5C%22 %22);%0A%0A        %7D%0A%0A        // Docker image and version%0A        commandLine.append(image).append(%22 %22);%0A%0A        // Params%0A        commandLine.append(params);%0A%0A        // Execute command%0A        Command cmd = new Command(commandLine.toString());%0A        cmd.run();%0A    %7D%0A%7D%0A

add DockerUtils, #45