exec property

Input<bool>? exec
final

Use exec mode to build this image.

By default the provider embeds a v25 Docker client with v0.12 buildx support. This helps ensure consistent behavior across environments and is compatible with alternative build backends (e.g. buildkitd), but it may not be desirable if you require a specific version of buildx. For example you may want to run a custom docker-buildx binary with support for Docker Build Cloud (DBC).

When this is set to true the provider will instead execute the docker-buildx binary directly to perform its operations. The user is responsible for ensuring this binary exists, with correct permissions and pre-configured builders, at a path Docker expects (e.g. ~/.docker/cli-plugins).

Debugging exec mode may be more difficult as Pulumi will not be able to surface fine-grained errors and warnings. Additionally credentials are temporarily written to disk in order to provide them to the docker-buildx binary.

Implementation

final pulumi.Input<bool>? exec;