stop method

Future stop()

Stop the docker container.

Implementation

Future stop() async {
  try {
    _logger.info({
      'stopping': {'name': _name}
    });
    await Process.run(_dockerExecutable, ['stop', _name]);
  } catch (e, st) {
    _logger.warning({
      'stop-error': {'name': _name},
    }, e, st);
  }
}