瀏覽代碼

文件上传

huangxingxing 3 周之前
父節點
當前提交
6850ef2bb2
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/main/java/com/miniframe/tools/docker/DockerExe.java

+ 4 - 2
src/main/java/com/miniframe/tools/docker/DockerExe.java

@@ -111,8 +111,10 @@ public class DockerExe {
 
         Mount wokerMount = new Mount()
                 .withType(MountType.BIND)
-                .withSource("/cephfs/ac/"+pid)
-                .withTarget("/cephfs/ac/"+pid)
+//                .withSource("/cephfs/ac/"+pid)
+//                .withTarget("/cephfs/ac/"+pid)
+                .withSource("/cephfs")
+                .withTarget("/cephfs")
                 .withReadOnly(false);
         List<Mount> am =new ArrayList<>();
         am.add(wokerMount);