verifyStep property
The verify probe (e.g. docker --version).
Implementation
@override
CommandStep get verifyStep => const CommandStep('sh', [
'-c',
'command -v netstat >/dev/null 2>&1 && command -v route >/dev/null 2>&1 '
'|| exit 1\n'
// net-tools answers `--version` on Linux; macOS's netstat does not, and
// the probe must not fail over a version it cannot have.
'netstat --version 2>/dev/null | head -1 || true',
]);