|
@@ -179,7 +179,7 @@ public class DockerExe {
|
|
|
|
|
|
//创建容器
|
|
//创建容器
|
|
CreateContainerResponse container = dockerClient
|
|
CreateContainerResponse container = dockerClient
|
|
- .createContainerCmd("surromdao:test")//镜像名称
|
|
|
|
|
|
+ .createContainerCmd("surromdao:1.0")//镜像名称
|
|
.withName(pid)//容器名称
|
|
.withName(pid)//容器名称
|
|
.withHostConfig(
|
|
.withHostConfig(
|
|
HostConfig.newHostConfig()
|
|
HostConfig.newHostConfig()
|