Interface ContainerHandle
-
- All Implemented Interfaces:
-
java.io.Serializable
public interface ContainerHandle implements Serializable
Defines a handle / pointer to a container identified by its name and using a certain image.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classContainerHandle.Companion
-
Method Summary
Modifier and Type Method Description abstract Booleanexists()abstract BooleanisRunning()abstract StringgetContainerId()abstract StringgetContainerName()abstract StringgetContainerImage()ContainerHandlecurrentState(DockerClient dockerClient)Returns a new ContainerHandle representing the container's current state. -
-
Method Detail
-
getContainerId
abstract String getContainerId()
-
getContainerName
abstract String getContainerName()
-
getContainerImage
abstract String getContainerImage()
-
currentState
ContainerHandle currentState(DockerClient dockerClient)
Returns a new ContainerHandle representing the container's current state.
-
-
-
-