> Note: Only unmanaged (V1) plugins are included in this list. > V1 plugins are "lazily" loaded, and are not returned in this list > if there is no resource using the plugin.
An open port on a container
PortBinding represents a binding between a host IP address and a host port.
RegistryServiceConfig stores daemon registry services configuration.
An object describing the resources which can be advertised by a node and requested by a task.
A container’s resources (cgroups config, ulimits, etc)
The behavior to apply when the container exits. The default is not to restart. An ever increasing delay (double the previous delay, starting at 100ms) is added before each restart to prevent flooding the server.
Runtime describes an
OCI compliant runtime. The runtime is invoked by the daemon via the
containerd
daemon. OCI runtimes act as an interface to the Linux kernel namespaces, cgroups, and SELinux.
The status of the service when it is in one of ReplicatedJob or GlobalJob modes. Absent on Replicated and Global mode services. The JobIteration is an ObjectVersion, but unlike the Service’s version, does not need to be sent with an update request.
The status of the service’s tasks. Provided only when requested as part of a ServiceList operation.
User modifiable configuration for a service.
Scheduling mode for the service.
The mode used for services with a finite number of tasks that run to a completed state.
Specification for the rollback strategy of the service.
Specification for the update strategy of the service.
The status of a service update.
Represents generic information about swarm.
User modifiable swarm configuration.
CA configuration.
Dispatcher configuration.
Parameters related to encryption-at-rest.
Orchestration configuration.
Raft configuration.
Defaults for creating tasks in this cluster.
The log driver to use for tasks created in the orchestrator if unspecified by a service. Updating this value only affects new tasks. Existing tasks continue to use their previously configured log driver until recreated.
Response of Engine API: GET "/version"
User modifiable task configuration.
Container spec for the service.
>
Note: ContainerSpec, NetworkAttachmentSpec, and PluginSpec are > mutually exclusive. PluginSpec is only used when the Runtime field > is set to
plugin
. NetworkAttachmentSpec is used when the Runtime > field is set to
attachment
.
Specification for DNS related configurations in resolver configuration file (resolv.conf
).
File represents a specific target that is backed by a file.
File represents a specific target that is backed by a file.
> Note: Configs.File
and Configs.Runtime
are mutually exclusive
Security options for the container
CredentialSpec for managed service account (Windows only)
SELinux labels of the container
Specifies the log driver to use for tasks created from this spec. If not present, the default one for the swarm will be used, finally falling back to the engine default if not specified.
Read-only spec type for non-swarm containers attached to swarm overlay networks.
>
Note: ContainerSpec, NetworkAttachmentSpec, and PluginSpec are > mutually exclusive. PluginSpec is only used when the Runtime field > is set to
plugin
. NetworkAttachmentSpec is used when the Runtime > field is set to
attachment
.
Plugin spec for the service.
(Experimental release only.)
>
Note: ContainerSpec, NetworkAttachmentSpec, and PluginSpec are > mutually exclusive. PluginSpec is only used when the Runtime field > is set to
plugin
. NetworkAttachmentSpec is used when the Runtime > field is set to
attachment
.
Resource requirements which apply to each individual container created as part of the service.
Specification for the restart policy which applies to containers created as part of this service.
Information about the issuer of leaf TLS certificates and the trusted root CA certificate.
Volume configuration
Volume list response
Usage details about the volume. This information is used by the GET /system/df
endpoint, and omitted in other endpoints.
Current local status of this node.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
NodeState represents the state of a node.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Reachability represents the reachability of a node.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
User-defined resources can be either Integer resources (e.g, SSD=3
) or String resources (e.g, GPU=UUID1
).
PortMap describes the mapping of container ports to host ports, using the container’s port-number and protocol as key in the format <port>/<protocol>
, for example, 80/udp
. If a container’s port is mapped for multiple protocols, separate entries are added to the mapping table.