|  | @@ -217,12 +217,12 @@ public class DockerExe {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          //创建容器
 |  |          //创建容器
 | 
											
												
													
														|  |          CreateContainerResponse container = dockerClient
 |  |          CreateContainerResponse container = dockerClient
 | 
											
												
													
														|  | -                .createContainerCmd("surromdao:2.0")//镜像名称
 |  | 
 | 
											
												
													
														|  | 
 |  | +                .createContainerCmd("surromdao:1.0")//镜像名称
 | 
											
												
													
														|  |                  .withName(pid)//容器名称
 |  |                  .withName(pid)//容器名称
 | 
											
												
													
														|  |                  .withHostConfig(
 |  |                  .withHostConfig(
 | 
											
												
													
														|  |                          HostConfig.newHostConfig()
 |  |                          HostConfig.newHostConfig()
 | 
											
												
													
														|  |                                  .withMounts(am)
 |  |                                  .withMounts(am)
 | 
											
												
													
														|  | -                ).withCmd("bash", "-c", "source /home/mdo/aeroelastic.sh && cd /cephfs/mdo/"+pid+"/in && conda activate surromdao && mpiexec -n 4 python run.py")
 |  | 
 | 
											
												
													
														|  | 
 |  | +                ).withCmd("bash", "-c", "source /home/mdo/aeroelastic.sh && cd /cephfs/mdo/"+pid+"/in && mpiexec -n 1 python run.py")
 | 
											
												
													
														|  |                  .exec();
 |  |                  .exec();
 | 
											
												
													
														|  |          dockerClient.startContainerCmd(container.getId()).exec();
 |  |          dockerClient.startContainerCmd(container.getId()).exec();
 | 
											
												
													
														|  |          System.out.println("容器启动成功,ID: " + container.getId());
 |  |          System.out.println("容器启动成功,ID: " + container.getId());
 |