---
title: "Image cache"
url: https://www.daytona.com/definitions/i/image-cache
---

# Image cache

An image cache is the set of sandbox images already stored on a host, which lets a sandbox start there without a pull.

An image cache is the local store of sandbox or container images on a host. An image holds the root filesystem that a sandbox starts from, with its operating system files and installed tools. When an image is in the cache, the host can start a sandbox from it right away. When it is not, the host must first pull the image from a registry over the network.

The sandbox runtime builds the root filesystem of a new sandbox as a copy-on-write view over a base image. With the image already on the host, this step costs almost nothing. A cold image means a pull before the first start, which can take seconds or minutes for a large image. The cache therefore has a large effect on cold start time.

Platforms try to place new sandboxes on hosts that already hold the needed image. They may also pull popular images to hosts ahead of time, which is called pre-warming. Disk space is limited, so the cache evicts images that have not been used for a while. Image size, layer sharing and the scheduler all affect how often a sandbox finds its image ready.

## Related terms

- [NVMe](https://www.daytona.com/definitions/n/nvme.md)
