Skip to main content

Module core

Module core 

Source

Re-exports§

pub use self::build::build_context::BuildContextBuilder;
pub use self::build::build_options::BuildImageOptions;
pub use self::build::buildable::BuildableImage;
pub use self::ports::ContainerPort;
pub use self::ports::IntoContainerPort;
pub use self::wait::WaitFor;

Modules§

build
client
error
logs
ports
wait

Structs§

Containerblocking
Represents a running docker container.
ContainerAsync
Represents a running docker container that has been started using an async client.
ContainerRequest
Represents a request to start a container, allowing customization of the container.
ContainerState
CopyToContainer
CopyToContainerCollection
ExecCommand
ExecResult
Represents the result of an executed command in a container.
Healthcheck
Represents a custom health check configuration for a container.
Mount
Represents a filesystem mount. For more information see Docker Storage documentation.
MountTmpfsOptions
Options for configuring tmpfs mounts.
PortMapping
Represents a port mapping between a host’s external port and the internal port of a container.
RawContainer
Represents a docker container without any additional functionality. It basically wraps a docker container id and a docker client to expose some common functionality.
SyncExecResultblocking
Represents the result of an executed command in a container.

Enums§

AccessMode
CgroupnsMode
CmdWaitFor
CopyDataSource
CopyFromContainerError
Errors that can occur while materializing data copied from a container.
CopyToContainerError
Host
MountType
ReuseDirectivereusable-containers

Traits§

CopyFileFromContainer
Abstraction for materializing the bytes read from a source into a concrete destination.
Image
Represents a docker image.
ImageExt
Represents an extension for the Image trait. Allows to override image defaults and container configuration.