Skip to content

Commit 8157f85

Browse files
committed
Add --group-add keep-groups to docker
1 parent d569189 commit 8157f85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/run/DockerWrapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,14 @@ public void executeWithDocker(List<String> containerArgs, File workDir, Pipeline
6262
writer.println("WD=`pwd`");
6363

6464
writer.println("DOCKER='" + SequencePipelineService.get().getDockerCommand() + "'");
65+
writer.println("$DOCKER pull " + _containerName);
6566
if (_runPrune)
6667
{
6768
writer.println("$DOCKER image prune -f");
6869
}
6970

70-
writer.println("$DOCKER pull " + _containerName);
7171
writer.println("$DOCKER run --rm=true \\");
72+
writer.println("\t--group-add keep-groups \\");
7273

7374
// NOTE: getDockerVolumes() should be refactored to remove the -v and this logic should be updated accordingly:
7475
File homeDir = new File(System.getProperty("user.home"));

0 commit comments

Comments
 (0)