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)voiddeleteContainer(ContainerId id)booleanexists(ContainerId id)ImagegetImage(java.lang.String imageName)ContainerInfoinspectContainer(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
-
stopContainer
void stopContainer(ContainerId id, java.time.Duration timeout) throws DockerException
- Throws:
DockerException
-
exists
boolean exists(ContainerId id)
-
deleteContainer
void deleteContainer(ContainerId id) throws DockerException
- Throws:
DockerException
-
inspectContainer
ContainerInfo inspectContainer(ContainerId id) throws DockerException
- Throws:
DockerException
-
-