Browse Source

文件上传

huangxingxing 3 weeks ago
parent
commit
6850ef2bb2
1 changed files with 4 additions and 2 deletions
  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);