Module bollard::container

source ·
Expand description

Container API: run docker containers and manage their lifecycle

Structs

Maps internal container port to external host port.
I/O statistics for the container.
General CPU statistics for the container.
CPU usage statistics for the container.
Result type for the Container Changes API
Container to create.
Result type for the Inspect Container API
Configuration for a network endpoint.
EndpointIPAMConfig represents an endpoint’s IPAM configuration.
Storage driver name and configuration.
Container configuration that depends on the host we are running on
The logging configuration for this container.
Parameters used in the Logs API
General memory statistics for the container.
Granular memory statistics for the container.
Specification for mounts to be added to the container.
A mapping of network name to endpoint configuration for that network.
Network Settings for a container.
Network statistics for the container.
This container’s networking configuration.
Process ID statistics for the container.
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.
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 status of the container.
Statistics for the container.
Parameters used in the Stats API
File I/O statistics for the container.
CPU throttling statistics.
Parameters used in the Top Processes API
Result type for the Top Processes API
Limit read/write rate (IO/bytes per second) from/to a device.
Block IO weight (relative device weight).
A list of devices to add to the container.
The behavior to apply when the container exits. The default is not to restart.
A list of resource limits to set in the container.
Error messages returned in the Wait Container API

Enums

Result type for the Logs API

Traits

Trait providing implementations for Create Container Options struct.
Trait providing implementations for Inspect Container Options.
Trait providing implementations for Kill Container Options.
Trait providing implementations for List Containers Options struct.
Trait providing implementations for Logs Options.
Trait providing implementations for Prune Containers Options.
Trait providing implementations for Remove Container Options.
Trait providing implementations for Rename Container Options.
Trait providing implementations for Restart Container Options.
Trait providing implementations for Start Container Options.
Trait providing implementations for Stats Options.
Trait providing implementations for Stop Container Options.
Top Query Params
Trait providing implementations for Wait Container Options.