MCPcopy Create free account
hub / github.com/docker/compose / ContainerSummary

Struct ContainerSummary

pkg/api/api.go:541–561  ·  view source on GitHub ↗

ContainerSummary hold high-level description of a container

Source from the content-addressed store, hash-verified

539
540// ContainerSummary hold high-level description of a container
541type ContainerSummary struct {
542 ID string
543 Name string
544 Names []string
545 Image string
546 Command string
547 Project string
548 Service string
549 Created int64
550 State container.ContainerState
551 Status string
552 Health container.HealthStatus
553 ExitCode int
554 Publishers PortPublishers
555 Labels map[string]string
556 SizeRw int64 `json:",omitempty"`
557 SizeRootFs int64 `json:",omitempty"`
558 Mounts []string
559 Networks []string
560 LocalVolumes int
561}
562
563// PortPublishers is a slice of PortPublisher
564type PortPublishers []PortPublisher

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected