Skip to main content

display_pull_progress

Function display_pull_progress 

Source
async fn display_pull_progress(
    reader: &mut (impl AsyncBufReadExt + Unpin),
) -> Result<()>
Expand description

Read NDJSON lines from reader and display pull progress.

Handles two modes:

  • Modern podman (5.9+, with pullProgress support): per-blob byte-level progress bars via indicatif
  • Older podman (5.x): shows status messages from the stream field (“Copying blob …”, “Writing manifest …”) as a live spinner