github.com/containerd/containerd/api/services/containers/v1/containers.proto
(syntax: proto3
)
Description:
Containers provides metadata storage for containers used in the execution service.
The objects here provide an state-independent view of containers for use in management and resource pinning. From that perspective, containers do not have a “state” but rather this is the set of resources that will be considered in use by the container.
From the perspective of the execution service, these objects represent the base parameters for creating a container process.
In general, when looking to add fields for this type, first ask yourself whether or not the function of the field has to do with runtime execution or is invariant of the runtime state of the container. If it has to do with runtime, or changes as the “container” is started and stops, it probably doesn’t belong on this object.
Method | Input Type | Output Type | Description |
Get | GetContainerRequest | GetContainerResponse | |
List | ListContainersRequest | ListContainersResponse | |
Create | CreateContainerRequest | CreateContainerResponse | |
Update | UpdateContainerRequest | UpdateContainerResponse | |
Delete | DeleteContainerRequest | Empty |