Expand description
Named containers in a case scope: create, start, observe, stop and remove.
Creating and starting are separate, so files can be placed between them. A container joins the case network
under its participant name, mounts the case volume when its scope has one, and can publish TCP ports on the runner’s
127.0.0.1. Docker chooses each host port, and Container::status reads it back after start.
Structs§
- Container
- A container that exists in Docker, created by
CaseScope::create_container. - Container
Spec - What to run in a container, and how it joins its case scope.
- Status
- What Docker reports of a container after its start.
Enums§
- Output
- One output chunk of a container or an exec.
Constants§
- LINUX_
EPHEMERAL_ PORT_ RANGE - The ephemeral port range of a Linux container, for
net.ipv4.ip_local_port_range. It stays above every fixed port a test process listens on, so an outbound socket cannot take one.
Type Aliases§
- Output
Stream - A stream of a container’s output.