DockerRunner class abstract

Represents a Docker container running.

Inheritance
Implementers

Constructors

DockerRunner(DockerHost dockerHost, int instanceID, String containerName)

Properties

containerName String
The name of the associated container.
finalinherited
dockerHost DockerHost
DockerHost where this container is running.
finalinherited
exitCode int?
The exist code, returned by waitExit, or null if still running.
no setterinherited
exitElapsedTime Duration?
If exitCode is defined, returns the elapsed time from exitTime.
no setterinherited
exitTime DateTime?
Returns the time of exit. Computed when exitCode is set.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of this container.
no setter
image String?
The image:version of this container.
no setter
instanceID int
The internal instanceID in DockerCommander.
finalinherited
isFinished bool
Returns true if exitCode is defined (process exited).
no setterinherited
isReady bool
Returns true if this container is started and ready.
no setterinherited
isRunning bool
Returns true if this containers is running.
no setterinherited
outputReadyType OutputReadyType?
The ready output behavior.
no setterinherited
ports List<String>
Returns the mapped ports.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stderr Output?
The STDERR of this container.
no setterinherited
stdout Output?
The STDOUT of this container.
no setterinherited

Methods

dispose() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setupOutputReadyType(OutputReadyType outputReadyType) → void
inherited
setupStderr(OutputStream outputStream) → void
inherited
setupStdout(OutputStream outputStream) → void
inherited
stop({Duration? timeout}) Future<bool>
Stops this container.
toString() String
A string representation of this object.
override
waitExit({int? desiredExitCode, Duration? timeout}) Future<int?>
Waits this container to naturally exit.
inherited
waitExitAndConfirm(int desiredExitCode) Future<bool>
Waits this container to naturally exit.
inherited
waitReady() Future<bool>
Waits this container to start and be ready.
inherited
waitStderr({int? desiredExitCode}) Future<Output?>
Calls waitExit and returns stderr
inherited
waitStdout({int? desiredExitCode}) Future<Output?>
Calls waitExit and returns stdout
inherited

Operators

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