DockerContainerConfig<D extends DockerContainer> class

Base class for pre-configured containers.

Implementers

Constructors

DockerContainerConfig(String image, {String? version, List<String>? imageArgs, String? name, String? network, String? hostname, List<String>? ports, List<int>? hostPorts, List<int>? containerPorts, Map<String, String>? environment, Map<String, String>? volumes, bool? cleanContainer, int? outputLimit, bool outputAsLines = true, OutputReadyFunction? stdoutReadyFunction, OutputReadyFunction? stderrReadyFunction})

Properties

cleanContainer bool?
final
containerPorts List<int>?
final
environment Map<String, String>?
final
hashCode int
The hash code for this object.
no setterinherited
hostname String?
final
hostPorts List<int>?
final
image String
final
imageArgs List<String>?
final
name String?
final
network String?
final
outputAsLines bool
final
outputLimit int?
final
ports List<String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stderrReadyFunction OutputReadyFunction?
final
stdoutReadyFunction OutputReadyFunction?
final
version String?
final
volumes Map<String, String>?
final

Methods

copy({String? image, String? version, List<String>? imageArgs, String? name, String? network, String? hostname, List<String>? ports, List<int>? hostPorts, List<int>? containerPorts, Map<String, String>? environment, Map<String, String>? volumes, bool? cleanContainer, int? outputLimit, bool? outputAsLines, OutputReadyFunction? stdoutReadyFunction, OutputReadyFunction? stderrReadyFunction}) DockerContainerConfig<DockerContainer>
initializeContainer(D dockerContainer) Future<bool>
instantiateDockerContainer(DockerRunner runner) → D?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(DockerCommander dockerCommander, {String? name, String? network, String? hostname, List<int>? hostPorts, bool cleanContainer = true, int? outputLimit}) Future<D>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited