Skip to main content

is_podman_binary

Function is_podman_binary 

Source
pub fn is_podman_binary(cli: &str) -> bool
Expand description

True when cli is podman or a podman-compatible binary. Matches on the filename component so absolute paths (/opt/homebrew/bin/podman) and wrappers (podman-remote) both register as podman. Docker Desktop’s compatibility CLI is named docker, so this check is safe.