Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsi

Image

An image is a packaged, read-only template of a file system and its settings, from which containers, virtual machines, or sandboxes start.

An image is a template that a container, a virtual machine, or a sandbox starts from. It holds a file system with an operating system, libraries, tools, and often application code. It also records settings, such as the default user, the working directory, and the command to run. Every environment that starts from the same image begins in the same state.

Container images are built from layers. Each layer stores the changes that one build step made, such as installing a package. Layers are shared between images, so a host that already has a layer does not download it again. Virtual machine images are usually whole disk images, although many platforms can also start virtual machines from container images.

Images are a common way to give sandboxes their tools. A team builds one image with the languages and packages its agents need, and every sandbox starts from it. Hosts keep images in a cache, so that new sandboxes do not wait for a download. A snapshot can capture a running sandbox as a new image, so that later sandboxes start from that point.