Crate docker_command

Source
Expand description

Create Commands for running Docker or Docker-compatible clients.

Rather than speaking directly to the Docker daemon, this library produces commands that can be run in a subprocess to invoke the Docker client (or a compatible client such as Podman).

Re-exports§

pub use command_run;

Structs§

BuildOpt
Options for building a container.
CreateNetworkOpt
Options for creating a network.
Launcher
Base container command used for building and running containers.
PortRange
Port or range of ports.
PublishPorts
Options for publishing ports from a container to the host.
RunOpt
Options for running a container.
StopOpt
Options for stopping a container.
UserAndGroup
User and (optionally) group.
Volume
Volume specification used when running a container.

Enums§

BaseCommand
Preset base commands that a Launcher can be constructed from.
NameOrId
Name or numeric ID for a user or group.