Struct docker_sdk::docker::Docker

source ·
pub struct Docker { /* private fields */ }
Expand description

Entrypoint interface for communicating with docker daemon

Implementations

constructs a new Docker instance for a docker host listening at a url specified by an env var DOCKER_HOST, falling back on unix:///var/run/docker.sock

Creates a new docker instance for a docker host listening on a given Unix socket.

constructs a new Docker instance for docker host listening at the given host url

Exports an interface for interacting with docker images

Exports an interface for interacting with docker containers

Exports an interface for interacting with docker services

Returns version information associated with the docker daemon

Returns information associated with the docker daemon

Returns a simple ping response indicating the docker daemon is accessible

Returns a stream of docker events

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more