stop method
Removes the container (killing it when it still runs). A container that is not started, or was found again through withReuse, is left as it is.
Implementation
Future<void> stop() async {
final id = _id;
if (id == null) {
return;
}
final reused = _reuse && !_runsOnCi;
await _discard(releaseReaper: !reused, remove: !reused);
}