Skip to main content

detect_container_cli

Function detect_container_cli 

Source
pub fn detect_container_cli() -> Option<String>
Expand description

Auto-detect an available container CLI. Honors FAKECLOUD_CONTAINER_CLI as an explicit override (returns None if the override doesn’t work), otherwise prefers docker then podman. Returns None when neither is usable.