diff --git a/modules/sub-plugin/docker-cli/src/main/java/io/jpom/DockerBuild.java b/modules/sub-plugin/docker-cli/src/main/java/io/jpom/DockerBuild.java index 94ff392aa..c3970b6f4 100644 --- a/modules/sub-plugin/docker-cli/src/main/java/io/jpom/DockerBuild.java +++ b/modules/sub-plugin/docker-cli/src/main/java/io/jpom/DockerBuild.java @@ -120,7 +120,7 @@ public class DockerBuild implements AutoCloseable { DockerClientUtil.copyArchiveFromContainerCmd(dockerClient, containerId, logRecorder, resultFile, resultFileOut); return statusCode; } finally { - //DockerClientUtil.removeContainerCmd(dockerClient, containerId); + DockerClientUtil.removeContainerCmd(dockerClient, containerId); // 删除临时目录 FileUtil.del(tempDir); }