Class ContainerInfo
java.lang.Object
com.spotify.docker.client.messages.ContainerInfo
- Direct Known Subclasses:
AutoValue_ContainerInfo
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
abstract com.google.common.collect.ImmutableList
<String> args()
abstract ContainerConfig
config()
(package private) static ContainerInfo
create
(String id, Date created, String path, List<String> args, ContainerConfig containerConfig, HostConfig hostConfig, ContainerState containerState, String image, NetworkSettings networkSettings, String resolvConfPath, String hostnamePath, String hostsPath, String name, String driver, String execDriver, String processLabel, String mountLabel, Map<String, String> volumes, Map<String, Boolean> volumesRw, String appArmorProfile, List<String> execIds, String logPath, Long restartCount, List<ContainerMount> mounts, ContainerInfo.Node node) abstract Date
created()
abstract String
driver()
abstract String
abstract com.google.common.collect.ImmutableList
<String> execIds()
abstract HostConfig
abstract String
abstract String
abstract String
id()
abstract String
image()
abstract String
logPath()
abstract String
abstract com.google.common.collect.ImmutableList
<ContainerMount> mounts()
abstract String
name()
abstract NetworkSettings
abstract 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.abstract String
path()
abstract String
abstract String
abstract Long
abstract ContainerState
state()
volumes()
Deprecated.Deprecated.Replaced bymounts()
in API 1.20.
-
Constructor Details
-
ContainerInfo
public ContainerInfo()
-
-
Method Details
-
id
-
created
-
path
-
args
-
config
-
hostConfig
-
state
-
image
-
networkSettings
-
resolvConfPath
-
hostnamePath
-
hostsPath
-
name
-
driver
-
execDriver
-
processLabel
-
mountLabel
-
volumes
@Nullable @Deprecated public abstract com.google.common.collect.ImmutableMap<String,String> volumes()Deprecated.Replaced bymounts()
in API 1.20.Volumes returned by execInspect- Returns:
- A map of volumes where the key is the source path on the local file system, and the key is the target path on the Docker host.
-
volumesRw
@Nullable @Deprecated public abstract com.google.common.collect.ImmutableMap<String,Boolean> volumesRw()Deprecated.Replaced bymounts()
in API 1.20.Volumes returned by execInspect- Returns:
- A map of volumes where the key is the source path on the local file system, and the key is the target path on the Docker host.
-
appArmorProfile
-
execIds
-
logPath
-
restartCount
-
mounts
-
node
This field is an extension defined by the Docker Swarm API, therefore it will only be populated when communicating with a Swarm cluster. -
create
static ContainerInfo create(String id, Date created, String path, List<String> args, ContainerConfig containerConfig, HostConfig hostConfig, ContainerState containerState, String image, NetworkSettings networkSettings, String resolvConfPath, String hostnamePath, String hostsPath, String name, String driver, String execDriver, String processLabel, String mountLabel, Map<String, String> volumes, Map<String, Boolean> volumesRw, String appArmorProfile, List<String> execIds, String logPath, Long restartCount, List<ContainerMount> mounts, ContainerInfo.Node node)
-
mounts()
in API 1.20.