Docker
Pulumi Official

Package maintained by Pulumiv3.2.0 published on Friday, Apr 1, 2022 by Pulumi
The Pulumi Docker provider uses the Docker SDK to manage resources.
Installation
The Docker provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/docker
- Python:
pulumi-docker
- Go:
github.com/pulumi/pulumi-docker/sdk/v3/go/docker
- .NET:
Pulumi.Docker
Configuring The Provider
Pulumi relies on the Docker SDK to authenticate requests from your computer to Docker. Your credentials are never sent to pulumi.com.
Once the credetials are obtained, there are two ways to communicate your configuration tokens to Pulumi:
Set the environment variable
DOCKER_HOST
:$ export DOCKER_HOST=tcp://127.0.0.1:2376/
Set them using configuration, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:
$ pulumi config set docker:host tcp://127.0.0.1:2376/