Interview Prep/Docker/Images, Layers & Storage Drivers

How does `docker pull` decide which layers to download?

IntermediateConceptImages, Layers & Storage Drivers
Answer

It fetches the manifest by tag, picks the platform manifest from an index, compares layer blob digests with local content, and downloads only missing ones in parallel (default 3 concurrent, max-concurrent-downloads). Each blob is verified against its digest after download.

All Docker questions Roadmap: Docker & containers

More on Images, Layers & Storage Drivers