ContainerSummary

interface ContainerSummary {
    Command?: string;
    Created?: number;
    HostConfig?: ContainerSummaryHostConfig;
    Id?: string;
    Image?: string;
    ImageID?: string;
    Labels?: {
        [key: string]: string;
    };
    Mounts?: MountPoint[];
    Names?: string[];
    NetworkSettings?: ContainerSummaryNetworkSettings;
    Ports?: Port[];
    SizeRootFs?: number;
    SizeRw?: number;
    State?: string;
    Status?: string;
}

Properties

Command?: string

Command to run when starting the container

Created?: number

When the container was created

Id?: string

The ID of this container

Image?: string

The name of the image used when creating this container

ImageID?: string

The ID of the image that this container was created from

Labels?: {
    [key: string]: string;
}

User-defined key/value metadata.

Mounts?: MountPoint[]
Names?: string[]

The names that this container has been given

Ports?: Port[]

The ports exposed by this container

SizeRootFs?: number

The total size of all the files in this container

SizeRw?: number

The size of files that have been created or changed by this container

State?: string

The state of this container (e.g. Exited)

Status?: string

Additional human-readable status of this container (e.g. Exit 0)