Skip to main content
Starts the BuildKit builder container. CPU and memory limits can be set for the builder.

Usage

container builder start [--cpus <cpus>] [--memory <memory>] [--debug]

Options

-c, --cpus
integer
default:"2"
Number of CPUs to allocate to the builder container
-m, --memory
string
default:"2048MB"
Amount of builder container memory (1MiByte granularity), with optional K, M, G, T, or P suffix
--debug
boolean
Enable debug mode

Examples

# start the builder with default resources (2 CPUs, 2048MB memory)
container builder start

# start the builder with custom CPU allocation
container builder start --cpus 4

# start the builder with custom memory and CPU limits
container builder start --cpus 4 --memory 4G

Build docs developers (and LLMs) love