$npx skillfedfor your agent

prefect-docker

Prefect integrations for interacting with Docker.

With conditionsPyPI LibrariesReleased Jul 20262.3M downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — prefect_docker-0.7.3-py3-none-any.whl
v0.7.3 · released 2026-07-15 · Python >=3.10 · 4 runtime deps: prefect, docker, exceptiongroup, python-on-whales

Yes, if you use Prefect and need to run tasks in Docker containers. It's actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. The integration is part of the official Prefect ecosystem. Install it when containerized task execution is part of your workflow design; skip it if you run all tasks in-process.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Docker daemon running locally or accessible via docker socket; requires Prefect to be installed and configured.
  • Low install friction with a pure-Python wheel.
  • Active maintenance—last commit 2026-08-14, released 30 days ago.

License · maintenance · safety

Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive). You can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-07-15 (30 days) · last repo commit 2026-08-14 · 23,623 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,275,795 downloads/mo, #3,172 on PyPI

Verify before relying

pip install prefect-docker

from prefect_docker import DockerContainer
from prefect import flow, task

@task
def my_task():
    return "Hello from Docker"

@flow
def my_flow():
    my_task.with_options(container=DockerContainer()).submit()
  • Specific Docker API features or container orchestration patterns this integration supports beyond basic task execution.
  • Whether this package handles Docker networking, volume mounting, or environment variable injection for containerized tasks.
  • Performance characteristics or scaling limits when running many concurrent Docker-based tasks.
Same gist for agents: .md · .json

What it is and what it does

prefect-docker is an official integration that extends Prefect's workflow orchestration to execute tasks inside Docker containers. It bridges the Prefect task execution model with Docker's containerization, letting you define and run workflow steps as isolated container workloads rather than in-process Python functions. The package wraps Docker and python-on-whales to manage container lifecycle and communication.

This is useful when you need task isolation, dependency management, or reproducible execution environments within a Prefect workflow. You define tasks normally in Prefect, then specify Docker container configuration to run them containerized. The integration handles container creation, execution, and cleanup as part of the Prefect task lifecycle.

Use it for

  • Run Prefect tasks in isolated Docker containers to avoid dependency conflicts between workflow steps.
  • Execute workflow tasks with specific OS or system library requirements inside a container image.
  • Ensure reproducible task execution across different environments by containerizing task logic.
  • Integrate legacy or third-party applications into Prefect workflows by wrapping them in Docker containers.
  • Distribute task execution across container orchestration platforms by using Docker as the execution backend.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use Prefect and need to run tasks in Docker containers.

It's actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. The integration is part of the official Prefect ecosystem. Install it when containerized task execution is part of your workflow design; skip it if you run all tasks in-process.

Install

prefect-docker on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance—last commit 2026-08-14, released 30 days ago. Supports Python 3.10 through 3.13. Depends on prefect, docker, exceptiongroup, and python-on-whales; all are standard ecosystem packages.

Requires Docker daemon running locally or accessible via docker socket; requires Prefect to be installed and configured.

License in practice

Licensed under Apache License 2.0 (permissive). You can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install prefect-docker

from prefect_docker import DockerContainer
from prefect import flow, task

@task
def my_task():
    return "Hello from Docker"

@flow
def my_flow():
    my_task.with_options(container=DockerContainer()).submit()

Verify before relying

  • Specific Docker API features or container orchestration patterns this integration supports beyond basic task execution.
  • Whether this package handles Docker networking, volume mounting, or environment variable injection for containerized tasks.
  • Performance characteristics or scaling limits when running many concurrent Docker-based tasks.

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
prefectdockerexceptiongrouppython-on-whales
MaintenanceActively maintained 30 days since the last release
Last repo commit
First released
Downloads2,275,795 / month, #3,172 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries

Evidence: prefect_docker-0.7.3-py3-none-any.whl

Tags

Capabilities
prefect docker integrationrun tasks in docker containersdocker workflow orchestrationprefect container executiondocker task runnercontainerized prefect workflows
Topics
workflow-orchestrationdocker-integrationtask-execution
PyPI keywords
prefect

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “prefect docker integration”

  • prefect-dockerProvides Docker task execution and container management integrations…
  • prefect-emailProvides Prefect workflow integration for sending emails, enabling…
  • prefect-githubProvides Prefect workflow tasks and blocks for interacting with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also prefect-azure · prefect-shell · prefect-ray · prefect-gcp · prefect-dbt · prefect-dask · prefect-redis · prefect-gitlab · prefect-client · prefect-cloud