public static class DockerClient.ListContainersParam extends Object
DockerClient.listContainers(ListContainersParam...)| Modifier and Type | Field and Description |
|---|---|
private String |
name |
private String |
value |
| Constructor and Description |
|---|
ListContainersParam(String name,
String value) |
| Modifier and Type | Method and Description |
|---|---|
static DockerClient.ListContainersParam |
allContainers()
Show all containers.
|
static DockerClient.ListContainersParam |
allContainers(boolean all)
Show all containers.
|
static DockerClient.ListContainersParam |
containersCreatedBefore(String id)
Show only containers created before id, include non-running ones.
|
static DockerClient.ListContainersParam |
containersCreatedSince(String id)
Show only containers created since id, include non-running ones.
|
static DockerClient.ListContainersParam |
create(String name,
String value)
Create a custom parameter.
|
static DockerClient.ListContainersParam |
exitedContainers()
Show exited containers.
|
static DockerClient.ListContainersParam |
limitContainers(Integer limit)
Show
limit last created containers, include non-running ones. |
String |
name()
Parameter name.
|
String |
value()
Parameter value.
|
static DockerClient.ListContainersParam |
withContainerSizes(Boolean size)
Show the containers sizes.
|
public String name()
public String value()
public static DockerClient.ListContainersParam allContainers()
public static DockerClient.ListContainersParam allContainers(boolean all)
all - Whether to show all containerspublic static DockerClient.ListContainersParam exitedContainers() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static DockerClient.ListContainersParam limitContainers(Integer limit)
limit last created containers, include non-running ones.limit - Limit for number of containers to listpublic static DockerClient.ListContainersParam containersCreatedSince(String id)
id - container IDpublic static DockerClient.ListContainersParam containersCreatedBefore(String id)
id - container IDpublic static DockerClient.ListContainersParam withContainerSizes(Boolean size)
size - Whether to show container sizespublic static DockerClient.ListContainersParam create(String name, String value)
name - custom namevalue - custom valueCopyright © 2015. All rights reserved.