pulumi-docker
A Pulumi package for interacting with Docker in Pulumi programs
What it is and what it does
Pulumi-docker is a resource provider that lets you define and manage Docker resources—containers, images, networks, volumes, and registries—declaratively within Pulumi infrastructure-as-code programs. It integrates Docker management into the same Pulumi workflow you use for cloud infrastructure, allowing you to version-control, test, and deploy Docker configurations alongside other infrastructure.
The package acts as a bridge between Pulumi's programming model and Docker's API, exposing Docker resources as Pulumi resource types. You write Python (or another Pulumi-supported language) to declare what Docker resources you want, and Pulumi handles the provisioning and lifecycle management. It's designed for teams already using Pulumi who want to manage containerization as part of their broader infrastructure automation.
Use it for:
- Define and deploy Docker containers, images, and networks as part of a Pulumi infrastructure stack
- Automate Docker image builds and registry pushes within an infrastructure-as-code workflow
- Manage Docker volumes and networks alongside cloud resources in a single Pulumi program
- Version-control Docker configurations and infrastructure together in a single codebase
- Integrate Docker resource provisioning into CI/CD pipelines using Pulumi automation
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Pulumi provider for managing Docker resources (containers, images, networks, volumes) as code within Pulumi infrastructure programs.
Yes, if you are already using Pulumi and need to manage Docker resources as part of your infrastructure code. The package is actively maintained, has low install friction, carries a permissive license, and has no known vulnerabilities. Install only after ensuring Pulumi CLI is set up; it is not a standalone Docker client.
Install
pulumi-docker on PyPI
pip
pip install pulumi-dockeruv
uv add pulumi-dockerpoetry
poetry add pulumi-dockerInstalling pulumi-docker
Before you install
Low friction install with a pure-Python wheel. Actively maintained as of 2026-06-26 with recent commits. Requires Pulumi CLI to be installed separately before use.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and redistribution with minimal restrictions.
Quickstart
pip install pulumi_docker
import pulumi
import pulumi_docker as docker
image = docker.Image('my-image', image_name='my-app:latest')
Pulumi CLI must be installed and configured before this package can be used; requires Python >=3.9
Verify before relying
- Whether this provider supports all current Docker API features or only a subset
- Compatibility with specific Docker daemon versions or configurations
- Performance characteristics when managing large numbers of Docker resources
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — parver, pulumi, semver, typing-extensions |
| Maintenance | actively maintained — 49 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 869,396/month — #4,849 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pulumi_docker-5.1.0-py3-none-any.whl
Keywords: pulumi, docker
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
pulumi-cloudflarePulumi provider for Cloudflare that lets you…
permissive · top 15,000 on PyPI
pulumi-databricksA Pulumi resource provider that lets you…
permissive · top 15,000 on PyPI
pulumi-datadogPulumi provider for declaring and managing…
permissive · top 5,000 on PyPI
pulumi-docker-buildA Pulumi provider for building Docker images…
permissive · top 15,000 on PyPI
pulumi-esc-sdkPulumi ESC SDK provides a Python client for…
permissive · top 15,000 on PyPI
pulumi-githubPulumi provider for GitHub that lets you define…
permissive · top 15,000 on PyPI
pulumi-gitlabPulumi provider for GitLab that lets you define…
permissive · top 15,000 on PyPI
pulumi-keycloakA Pulumi resource provider that lets you define…
permissive · top 15,000 on PyPI
pulumi-policyDefines and enforces policy rules on cloud…
permissive · top 15,000 on PyPI
pulumi-postgresqlPulumi resource provider for declaring and…
permissive · top 15,000 on PyPI