Skip to main content

container_list_command

Function container_list_command 

Source
pub fn container_list_command(runtime: Option<ContainerRuntime>) -> String
Expand description

Build the SSH command string for listing containers.

  • Some(Docker) / Some(Podman): direct listing for the known runtime.
  • None: combined detection + listing with sentinel markers in one SSH call.