initialize method
Initializes instance.
Implementation
@override
Future<bool> initialize(DockerCommander dockerCommander) async {
var initialized = _initialized;
if (initialized != null) return initialized;
_dockerCommander = dockerCommander;
return _initializing ??=
DockerHostLocal.resolveDockerBinaryPath().then((path) {
var ok = path.isNotEmpty;
if (ok) {
_dockerBinaryPath = path;
}
_initialized = ok;
_initializing = null;
return ok;
});
}