Package org.openqa.selenium.docker
Interface DockerProtocol
-
- All Known Implementing Classes:
V140Docker
public interface DockerProtocol
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Containercreate(ContainerConfig info)ContainerLogsgetContainerLogs(ContainerId id)ImagegetImage(java.lang.String imageName)ContainerInfoinspectContainer(ContainerId id)booleanisContainerPresent(ContainerId id)voidstartContainer(ContainerId id)voidstopContainer(ContainerId id, java.time.Duration timeout)java.lang.Stringversion()
-
-
-
Method Detail
-
version
java.lang.String version()
-
getImage
Image getImage(java.lang.String imageName) throws DockerException
- Throws:
DockerException
-
create
Container create(ContainerConfig info)
-
startContainer
void startContainer(ContainerId id) throws DockerException
- Throws:
DockerException
-
isContainerPresent
boolean isContainerPresent(ContainerId id) throws DockerException
- Throws:
DockerException
-
stopContainer
void stopContainer(ContainerId id, java.time.Duration timeout) throws DockerException
- Throws:
DockerException
-
inspectContainer
ContainerInfo inspectContainer(ContainerId id) throws DockerException
- Throws:
DockerException
-
getContainerLogs
ContainerLogs getContainerLogs(ContainerId id) throws DockerException
- Throws:
DockerException
-
-