Crate docker_command
source ·Expand description
Create Command
s 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§
- Options for building a container.
- Options for creating a network.
- Base container command used for building and running containers.
- Port or range of ports.
- Options for publishing ports from a container to the host.
- Options for running a container.
- Options for stopping a container.
- User and (optionally) group.
- Volume specification used when running a container.
Enums§
- Preset base commands that a
Launcher
can be constructed from. - Name or numeric ID for a user or group.