[][src]Module testcontainers::core

Structs

Container

Represents a running docker container.

Logs

Log streams of running container (stdout & stderr).

Port

Represents a port mapping between a local port and the internal port of a container.

Ports

The exposed ports of a running container.

RunArgs

Container run command arguments. name - run image instance with the given name (should be explicitly set to be seen by other containers created in the same docker network). network - run image instance on the given network. ports - run image instance with the given ports mapping (if explicit mappings is not defined, all image ports will be automatically exposed and mapped on random host ports).

Enums

WaitError

Defines error cases when waiting for a message in a stream.

Traits

Docker

Defines the minimum API required for interacting with the Docker daemon.

Image

Represents a docker image.

WaitForMessage

Extension trait for io::Read to wait for a message to appear in the given stream.