|
@@ -171,8 +171,13 @@ public class DockerExe {
|
|
|
|
|
|
Mount wokerMount = new Mount()
|
|
|
.withType(MountType.BIND)
|
|
|
- .withSource("/cephfs/mdo/"+pid+"/")
|
|
|
- .withTarget("/cephfs/mdo/"+pid+"/")
|
|
|
+ .withSource("/cephfs/mdo/"+pid+"/in/")
|
|
|
+ .withTarget("/cephfs/mdo/"+pid+"/in/")
|
|
|
+ .withReadOnly(false);
|
|
|
+ Mount outMount = new Mount()
|
|
|
+ .withType(MountType.BIND)
|
|
|
+ .withSource("/cephfs/mdo/"+pid+"/out/")
|
|
|
+ .withTarget("/cephfs/mdo/"+pid+"/outdata/")
|
|
|
.withReadOnly(false);
|
|
|
List<Mount> am =new ArrayList<>();
|
|
|
am.add(wokerMount);
|