Class ContainerInfo

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ContainerInfo.Node  
    • Constructor Summary

      Constructors 
      Constructor Description
      ContainerInfo()  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      abstract java.lang.String appArmorProfile()  
      abstract com.google.common.collect.ImmutableList<java.lang.String> args()  
      abstract ContainerConfig config()  
      (package private) static ContainerInfo create​(java.lang.String id, java.util.Date created, java.lang.String path, java.util.List<java.lang.String> args, ContainerConfig containerConfig, HostConfig hostConfig, ContainerState containerState, java.lang.String image, NetworkSettings networkSettings, java.lang.String resolvConfPath, java.lang.String hostnamePath, java.lang.String hostsPath, java.lang.String name, java.lang.String driver, java.lang.String execDriver, java.lang.String processLabel, java.lang.String mountLabel, java.util.Map<java.lang.String,​java.lang.String> volumes, java.util.Map<java.lang.String,​java.lang.Boolean> volumesRw, java.lang.String appArmorProfile, java.util.List<java.lang.String> execIds, java.lang.String logPath, java.lang.Long restartCount, java.util.List<ContainerMount> mounts, ContainerInfo.Node node)  
      abstract java.util.Date created()  
      abstract java.lang.String driver()  
      abstract java.lang.String execDriver()  
      abstract com.google.common.collect.ImmutableList<java.lang.String> execIds()  
      abstract HostConfig hostConfig()  
      abstract java.lang.String hostnamePath()  
      abstract java.lang.String hostsPath()  
      abstract java.lang.String id()  
      abstract java.lang.String image()  
      abstract java.lang.String logPath()  
      abstract java.lang.String mountLabel()  
      abstract com.google.common.collect.ImmutableList<ContainerMount> mounts()  
      abstract java.lang.String name()  
      abstract NetworkSettings 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 java.lang.String path()  
      abstract java.lang.String processLabel()  
      abstract java.lang.String resolvConfPath()  
      abstract java.lang.Long restartCount()  
      abstract ContainerState state()  
      abstract com.google.common.collect.ImmutableMap<java.lang.String,​java.lang.String> volumes()
      Deprecated.
      Replaced by mounts() in API 1.20.
      abstract com.google.common.collect.ImmutableMap<java.lang.String,​java.lang.Boolean> volumesRw()
      Deprecated.
      Replaced by mounts() in API 1.20.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContainerInfo

        public ContainerInfo()
    • Method Detail

      • id

        @Nullable
        public abstract java.lang.String id()
      • created

        public abstract java.util.Date created()
      • path

        public abstract java.lang.String path()
      • args

        public abstract com.google.common.collect.ImmutableList<java.lang.String> args()
      • hostConfig

        @Nullable
        public abstract HostConfig hostConfig()
      • image

        public abstract java.lang.String image()
      • resolvConfPath

        public abstract java.lang.String resolvConfPath()
      • hostnamePath

        public abstract java.lang.String hostnamePath()
      • hostsPath

        public abstract java.lang.String hostsPath()
      • name

        public abstract java.lang.String name()
      • driver

        public abstract java.lang.String driver()
      • execDriver

        @Nullable
        public abstract java.lang.String execDriver()
      • processLabel

        public abstract java.lang.String processLabel()
      • mountLabel

        public abstract java.lang.String mountLabel()
      • volumes

        @Nullable
        @Deprecated
        public abstract com.google.common.collect.ImmutableMap<java.lang.String,​java.lang.String> volumes()
        Deprecated.
        Replaced by mounts() 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<java.lang.String,​java.lang.Boolean> volumesRw()
        Deprecated.
        Replaced by mounts() 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

        public abstract java.lang.String appArmorProfile()
      • execIds

        @Nullable
        public abstract com.google.common.collect.ImmutableList<java.lang.String> execIds()
      • logPath

        public abstract java.lang.String logPath()
      • restartCount

        public abstract java.lang.Long restartCount()
      • mounts

        @Nullable
        public abstract com.google.common.collect.ImmutableList<ContainerMount> mounts()
      • node

        @Nullable
        public 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.
      • create

        static ContainerInfo create​(java.lang.String id,
                                    java.util.Date created,
                                    java.lang.String path,
                                    java.util.List<java.lang.String> args,
                                    ContainerConfig containerConfig,
                                    HostConfig hostConfig,
                                    ContainerState containerState,
                                    java.lang.String image,
                                    NetworkSettings networkSettings,
                                    java.lang.String resolvConfPath,
                                    java.lang.String hostnamePath,
                                    java.lang.String hostsPath,
                                    java.lang.String name,
                                    java.lang.String driver,
                                    java.lang.String execDriver,
                                    java.lang.String processLabel,
                                    java.lang.String mountLabel,
                                    java.util.Map<java.lang.String,​java.lang.String> volumes,
                                    java.util.Map<java.lang.String,​java.lang.Boolean> volumesRw,
                                    java.lang.String appArmorProfile,
                                    java.util.List<java.lang.String> execIds,
                                    java.lang.String logPath,
                                    java.lang.Long restartCount,
                                    java.util.List<ContainerMount> mounts,
                                    ContainerInfo.Node node)