Skip to main content

image_refresh_plan

Function image_refresh_plan 

Source
pub fn image_refresh_plan(config: &Config) -> Vec<ImageRefresh>
Expand description

Every container image the daemon downloads in the background, once per (host, image, platform).

Every container target is covered, including Apple’s container engine. A never policy is the one opt-out. The rest differ only in when they download: always and newer pull on every refresh, while the others pull only when the host has no copy of the image.

Several targets often share one image on one host, and that needs one download. When two such targets disagree about when to pull, the merged entry takes the more eager of the two.