Options for creating a snapshot from a local Dockerfile context.
interface CreateDockerfileSnapshotOptionsDocker build args passed as BuildKit build-arg opts.
Local Docker build context directory. Default: current working directory.
Memory in bytes for the temporary builder sandbox.
Callback for Docker build stdout/stderr chunks.
Optional Dockerfile target stage.
Timeout in seconds for builder sandbox operations. Default: 60.
Number of vCPUs for the temporary builder sandbox. The build runs BuildKit plus the native snapshotter's layer copies inside it, which contend for a single core by default, so an extra vCPU can cut a cold build's wall time substantially.