mirror of https://github.com/OpenVidu/openvidu.git
Get container running by imageId only if running container can not be found only with image name
parent
87c9d8f01c
commit
7c0b0ba9d3
|
@ -215,8 +215,7 @@ public class DockerManager {
|
|||
for (Container container : existingContainers) {
|
||||
if (container.getImage().startsWith(fullImageName)) {
|
||||
containerIds.add(container.getId());
|
||||
}
|
||||
if (container.getImageId().contains(fullImageName)) {
|
||||
} else if (container.getImageId().contains(fullImageName)) {
|
||||
containerIds.add(container.getId());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue