Class DockerClient
java.lang.Object
org.openqa.selenium.docker.client.DockerClient
- All Implemented Interfaces:
DockerProtocol
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ContainerConfig config) org.openqa.selenium.docker.client.ApiVersionAdapterReturns the adapter for this API version.booleanvoidvoidstopContainer(ContainerId id, Duration timeout) version()
-
Constructor Details
-
DockerClient
-
-
Method Details
-
getAdapter
public org.openqa.selenium.docker.client.ApiVersionAdapter getAdapter()Returns the adapter for this API version.- Returns:
- The API version adapter
-
version
- Specified by:
versionin interfaceDockerProtocol
-
getImage
- Specified by:
getImagein interfaceDockerProtocol- Throws:
DockerException
-
create
- Specified by:
createin interfaceDockerProtocol
-
isContainerPresent
- Specified by:
isContainerPresentin interfaceDockerProtocol- Throws:
DockerException
-
startContainer
- Specified by:
startContainerin interfaceDockerProtocol- Throws:
DockerException
-
stopContainer
- Specified by:
stopContainerin interfaceDockerProtocol- Throws:
DockerException
-
inspectContainer
- Specified by:
inspectContainerin interfaceDockerProtocol- Throws:
DockerException
-
getContainerLogs
- Specified by:
getContainerLogsin interfaceDockerProtocol- Throws:
DockerException
-