Skip to main content

parse_container_ps

Function parse_container_ps 

Source
pub fn parse_container_ps(output: &str) -> Vec<ContainerInfo>
Expand description

Parse NDJSON output from docker ps --format '{{json .}}' or podman ps --format '{{json .}}'. Used by tests and the public crate API exposed via lib.rs; the live SSH path streams through parse_container_output directly, so the binary build sees this helper as unused and the lint must be silenced.