Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Docker Jobs Bundle

Docker Jobs Bundle Laravel Package

ibra-akv/docker-jobs-bundle

Docker Jobs Bundle simplifies running containerized background jobs from PHP applications, letting you define and execute isolated Docker tasks, queue workers, and scheduled processes with minimal configuration.

View on GitHub
Deep Wiki
Context7

Symfony bundle that offers a batch processing system with Docker containers.

Frequently asked questions about Docker Jobs Bundle
Can I use ibra-akv/docker-jobs-bundle in a Laravel application?
Not directly. It is a Symfony bundle, and Laravel does not support Symfony bundle registration, config/packages YAML merging, or compiler-pass extension in the shape this package assumes. You would need a bridge or fork, or more realistically reimplement the small Docker job execution core as Laravel jobs.
How do I install docker-jobs-bundle with Composer?
In a Symfony app you would run composer require ibra-akv/docker-jobs-bundle, register the bundle in config/bundles.php, and add its configuration. In Laravel that install path is not realistic because there is no bundle registration hook; the package also presumes a Symfony console application and Docker CLI or daemon access on the host. Check the last release date and Symfony/PHP constraints before attempting a spike.
Which Laravel versions are supported by docker-jobs-bundle?
None officially. The package is a Symfony bundle rather than a Laravel package, and it was last released in August 2022, so PHP 8.2, 8.3, 8.4, Symfony 6, and Symfony 7 compatibility are unverified and likely absent. Laravel uses Symfony components but not bundles, so version support does not map cleanly.
How does docker-jobs-bundle execute background jobs in isolated containers?
It lets you define jobs and dispatches each one into a disposable Docker container, giving container-per-job isolation for long-running or risky tasks. Configuration covers images, volumes, and environment variables per job, and it is intended to work with asynchronous workers and queue backends. A technical spike should confirm whether it drives the Docker CLI via symfony/process or the Engine API, and whether it supports retries, timeouts, log streaming, and orphan cleanup.
Is docker-jobs-bundle safe to run in production?
Treat it as high-risk until reviewed. A batch system that shells into the Docker socket is root-equivalent on the host, so any job-payload-controlled image name, command argument, mount, or environment variable becomes a container-escape vector. The package is also stale from 2022, has one maintainer, and shows zero dependents, so you should plan a security review of rootful socket versus socket proxy versus rootless Docker before any adoption.
What are alternatives to docker-jobs-bundle for Laravel Docker jobs?
For most Laravel teams the best alternative is a native Laravel Job on a queue whose worker runs docker run or calls the Docker Engine API with explicit CPU, memory, and timeout limits. That composes with Horizon retries, backoff, and monitoring instead of introducing a second job model. If you are container-native, Kubernetes Jobs, ECS RunTask, or a scheduled docker compose run may already cover the need with less custom code.
Does docker-jobs-bundle integrate with Laravel queues or Horizon?
No native integration exists. The bundle assumes Symfony services, configuration, and console context, so job declaration and dispatch do not map onto Laravel Job semantics without adaptation. A bridge could translate Laravel jobs into the bundle's API, but you would still own retry, timeout, cleanup, and observability contracts.
How do I configure Docker images, volumes, and environment variables per job?
In the Symfony bundle this is done through bundle configuration and service definitions. Each job can specify its image, mounted volumes, and environment, which is useful for heterogeneous runtimes such as Python, Node, or ML binaries that you cannot host in-process. In Laravel you would need to port that configuration into a service provider, config file, or job payload because the bundle's config merge does not exist there.
Is docker-jobs-bundle maintained and compatible with PHP 8.2, 8.3, and 8.4?
Maintenance risk is significant. The last release was 2022-08-21, the bus factor is one, and there are zero dependents, so there is effectively no production exercise in the ecosystem. PHP 8.2, 8.3, 8.4 and Symfony 6 or 7 support are unverified and likely absent, so check composer constraints and plan to fork or replace if you proceed.
Should I fork docker-jobs-bundle or reimplement Docker job execution in Laravel?
Reimplementation is likely the lower-risk path because the valuable core is small: job definition, docker run invocation, exit-code capture, and log collection, probably around 300 to 500 lines. Fork-and-adapt is viable only if a spike shows the orchestration logic audits well and you can strip Symfony DI and configuration cleanly. A hybrid sidecar running the Symfony bundle in a small worker service is the third option, but it adds a deployable to isolate a stale dependency.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo