Crate docker_wrapper

Source
Expand description

§docker-wrapper

A simple, focused Docker CLI wrapper for Rust.

This crate provides a clean interface to Docker’s common commands, focusing on reliability and ease of use.

Re-exports§

pub use command::bake::BakeCommand;
pub use command::build::BuildCommand;
pub use command::build::BuildOutput;
pub use command::exec::ExecCommand;
pub use command::exec::ExecOutput;
pub use command::images::ImageInfo;
pub use command::images::ImagesCommand;
pub use command::images::ImagesOutput;
pub use command::info::DockerInfo as SystemDockerInfo;
pub use command::info::InfoCommand;
pub use command::info::InfoOutput;
pub use command::info::SystemInfo;
pub use command::login::LoginCommand;
pub use command::login::LoginOutput;
pub use command::logout::LogoutCommand;
pub use command::logout::LogoutOutput;
pub use command::ps::ContainerInfo;
pub use command::ps::PsCommand;
pub use command::ps::PsFormat;
pub use command::ps::PsOutput;
pub use command::pull::PullCommand;
pub use command::push::PushCommand;
pub use command::run::ContainerId;
pub use command::run::MountType;
pub use command::run::RunCommand;
pub use command::run::VolumeMount;
pub use command::search::RepositoryInfo;
pub use command::search::SearchCommand;
pub use command::search::SearchOutput;
pub use command::version::ClientVersion;
pub use command::version::ServerVersion;
pub use command::version::VersionCommand;
pub use command::version::VersionInfo;
pub use command::version::VersionOutput;
pub use command::CommandExecutor;
pub use command::CommandOutput;
pub use command::DockerCommand;
pub use command::EnvironmentBuilder;
pub use command::PortBuilder;
pub use command::PortMapping;
pub use command::Protocol;
pub use error::Error;
pub use error::Result;
pub use prerequisites::ensure_docker;
pub use prerequisites::DockerInfo;
pub use prerequisites::DockerPrerequisites;

Modules§

command
Command trait architecture for extensible Docker command implementations.
error
Error types for the docker-wrapper crate.
prerequisites
Prerequisites module for Docker detection and validation.

Constants§

VERSION
The version of this crate