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 Container
create(ContainerConfig info)
ContainerLogs
getContainerLogs(ContainerId id)
Image
getImage(java.lang.String imageName)
ContainerInfo
inspectContainer(ContainerId id)
boolean
isContainerPresent(ContainerId id)
void
startContainer(ContainerId id)
void
stopContainer(ContainerId id, java.time.Duration timeout)
java.lang.String
version()
-
-
-
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
-
-