Skip to main content

pull_image

Function pull_image 

Source
pub async fn pull_image(
    client: &DockerClient,
    tag: Option<&str>,
    progress: &mut ProgressReporter,
) -> Result<String, DockerError>
Expand description

Pull the opencode image from registry with automatic fallback

Tries GHCR first, falls back to Docker Hub on failure. Returns the full image:tag string on success.