Related to: https://github.com/pulumi/registry/pull/8814 Make this provider follow the Pulumi official convention of [using the `_index.md` and `installation-configuration.md`](https://www.pulumi.com/docs/iac/build-with-pulumi/publishing-packages/#write-documentation).
1.2 KiB
1.2 KiB
title, meta_desc, layout
| title | meta_desc | layout |
|---|---|---|
| Docker-Build Installation & Configuration | Provides an overview on how to configure the Pulumi Docker-Build Provider. | package |
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/