exec method

  1. @override
Future<(int, Uint8List)> exec(
  1. List<String> command
)
override

Runs command inside the running container and returns its result.

Returns (exitCode, combinedOutputBytes).

Throws ContainerStartException when called before start.

Implementation

@override
Future<(int, Uint8List)> exec(List<String> command) =>
    _dockerClient.execInContainer(_requireContainerId, command);