docker-build v0.0.7 published on Saturday, Oct 12, 2024 by Pulumi
Docker Build: Installation & Configuration
The Pulumi Docker-build provider builds modern Docker images with buildx and BuildKit.
Installation
The Docker-Build provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/docker-build
- Python:
pulumi-docker-build
- Go:
github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild
- .NET:
Pulumi.DockerBuild
- Java:
com.pulumi/docker-build
Configuring The Provider
Host
The DOCKER_HOST
environment variable can be used to specify a custom build daemon’s location.
$ export DOCKER_HOST=tcp://127.0.0.1:2376/
This can also be specified in your stack’s configuration:
$ pulumi config set docker-build:host tcp://127.0.0.1:2376/