public class ContainerInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContainerInfo.Node |
Modifier and Type | Field and Description |
---|---|
private String |
appArmorProfile |
private com.google.common.collect.ImmutableList<String> |
args |
private ContainerConfig |
config |
private Date |
created |
private String |
driver |
private String |
execDriver |
private com.google.common.collect.ImmutableList<String> |
execId |
private HostConfig |
hostConfig |
private String |
hostnamePath |
private String |
hostsPath |
private String |
id |
private String |
image |
private String |
logPath |
private String |
mountLabel |
private com.google.common.collect.ImmutableList<ContainerMount> |
mounts |
private String |
name |
private NetworkSettings |
networkSettings |
private ContainerInfo.Node |
node
This field is an extension defined by the Docker Swarm API, therefore it will only be populated
when communicating with a Swarm cluster.
|
private String |
path |
private String |
processLabel |
private String |
resolvConfPath |
private Long |
restartCount |
private ContainerState |
state |
private com.google.common.collect.ImmutableMap<String,String> |
volumes |
private com.google.common.collect.ImmutableMap<String,Boolean> |
volumesRW |
Constructor and Description |
---|
ContainerInfo() |
Modifier and Type | Method and Description |
---|---|
String |
appArmorProfile() |
List<String> |
args() |
ContainerConfig |
config() |
Date |
created() |
String |
driver() |
boolean |
equals(Object o) |
String |
execDriver() |
List<String> |
execId() |
int |
hashCode() |
HostConfig |
hostConfig() |
String |
hostnamePath() |
String |
hostsPath() |
String |
id() |
String |
image() |
String |
logPath() |
String |
mountLabel() |
List<ContainerMount> |
mounts() |
String |
name() |
NetworkSettings |
networkSettings() |
ContainerInfo.Node |
node() |
String |
path() |
String |
processLabel() |
String |
resolvConfPath() |
Long |
restartCount() |
ContainerState |
state() |
String |
toString() |
Map<String,String> |
volumes()
Deprecated.
Replaced by
mounts() in API 1.20. |
Map<String,Boolean> |
volumesRW()
Deprecated.
Replaced by
mounts() in API 1.20. |
private String id
private Date created
private String path
private com.google.common.collect.ImmutableList<String> args
private ContainerConfig config
private HostConfig hostConfig
private ContainerState state
private String image
private NetworkSettings networkSettings
private String resolvConfPath
private String hostnamePath
private String hostsPath
private String name
private String driver
private String execDriver
private String processLabel
private String mountLabel
private String appArmorProfile
private com.google.common.collect.ImmutableList<String> execId
private String logPath
private Long restartCount
private com.google.common.collect.ImmutableList<ContainerMount> mounts
private ContainerInfo.Node node
public String id()
public Date created()
public String path()
public ContainerConfig config()
public HostConfig hostConfig()
public ContainerState state()
public String image()
public NetworkSettings networkSettings()
public String resolvConfPath()
public String hostnamePath()
public String hostsPath()
public String name()
public String driver()
public String execDriver()
public String processLabel()
public String mountLabel()
@Deprecated public Map<String,String> volumes()
mounts()
in API 1.20.@Deprecated public Map<String,Boolean> volumesRW()
mounts()
in API 1.20.public ContainerInfo.Node node()
public String appArmorProfile()
public String logPath()
public Long restartCount()
public List<ContainerMount> mounts()
Copyright © 2016. All rights reserved.