Containers

Lifecycle

Containers can be in one of 3 states; CREATING, CREATED, DESTROYING.

CREATING containers are still being initialized on the worker and are not yet ready to be used. CREATING, containers can only transition to CREATED.

CREATED containers are initialized on the worker and are ready to be used. A CREATED container can only be transitioned to DESTROYING.

DESTROYING containers are marked for removal on the worker, and should no longer be used; they will be removed from the database when they no longer exist on the worker.

Types of Containers

These are the types of containers:

Task Containers

Task containers are created when a task is exectuted in a build plan. They are based on the image produced by the configured image_resource or image.

Resource Check Container

Resource Check Containers are created from the resource type's image and are used to check for new versions of a resource. There will be one per resource config

Resource Get Container

Resource Get Container are created when a get is exectuted in a build plan. They are based on the resource type's image and are used to download the bits for a given version of resource.

There will be one per resource config