DockerProcess class Null safety

Access wrapper to interact with a docker container as a process.


hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


exec(List<String> args) Future<ProcessResult>
Executes the command
isRunning() Future<bool>
Checks whether the container is running.
kill({ProcessSignal signal = ProcessSignal.sigkill}) Future
Kill the docker container.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
stop() Future
Stop the docker container.
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]

Static Methods

start({required String image, required String name, String? dockerExecutable, String? dockerCommand, List<String>? dockerArgs, String? network, String? hostname, Map<String, String>? environment, List<String>? ports, List<String>? imageArgs, bool sudo = false, bool? cleanup, FutureOr<bool> readySignal(String line)?, Duration? timeout}) Future<DockerProcess>
Starts a docker container.