public static class DockerClient.RemoveContainerParam extends Object
DockerClient.removeContainer(String)| Constructor and Description |
|---|
RemoveContainerParam(String name,
String value) |
| Modifier and Type | Method and Description |
|---|---|
static DockerClient.RemoveContainerParam |
create(String name,
String value)
Create a custom parameter.
|
static DockerClient.RemoveContainerParam |
forceKill()
Kill then remove the container.
|
static DockerClient.RemoveContainerParam |
forceKill(boolean force)
Kill then remove the container.
|
String |
name()
Parameter name.
|
static DockerClient.RemoveContainerParam |
removeVolumes()
Remove the volumes associated to the container.
|
static DockerClient.RemoveContainerParam |
removeVolumes(boolean remove)
Remove the volumes associated to the container.
|
String |
value()
Parameter value.
|
public String name()
public String value()
public static DockerClient.RemoveContainerParam create(String name, String value)
name - custom namevalue - custom valuepublic static DockerClient.RemoveContainerParam removeVolumes()
public static DockerClient.RemoveContainerParam removeVolumes(boolean remove)
remove - Whether to remove volumespublic static DockerClient.RemoveContainerParam forceKill()
public static DockerClient.RemoveContainerParam forceKill(boolean force)
force - Whether to force kill before removing.Copyright © 2016. All rights reserved.