Calls dockerProcess.waitExit.
dockerProcess.waitExit
Future<int?> waitExit() => dockerProcess.waitExit();