public interface RemoveContainerCmd extends DockerCmd<Void>
Modifier and Type | Interface and Description |
---|---|
static interface |
RemoveContainerCmd.Exec |
Modifier and Type | Method and Description |
---|---|
Void |
exec() |
String |
getContainerId() |
boolean |
hasForceEnabled() |
boolean |
hasRemoveVolumesEnabled() |
RemoveContainerCmd |
withContainerId(String containerId) |
RemoveContainerCmd |
withForce() |
RemoveContainerCmd |
withForce(boolean force) |
RemoveContainerCmd |
withRemoveVolumes(boolean removeVolumes) |
String getContainerId()
boolean hasRemoveVolumesEnabled()
boolean hasForceEnabled()
RemoveContainerCmd withContainerId(String containerId)
RemoveContainerCmd withRemoveVolumes(boolean removeVolumes)
RemoveContainerCmd withForce()
RemoveContainerCmd withForce(boolean force)
Void exec() throws NotFoundException
exec
in interface DockerCmd<Void>
NotFoundException
- No such containerCopyright © 2015. All Rights Reserved.