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(ContainerInfo info)
void
deleteContainer(ContainerId id)
boolean
exists(ContainerId id)
Image
getImage(java.lang.String imageName)
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(ContainerInfo 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
-
-