Skip to main content

docker-compose-all

Recursively scan a directory for Docker Compose projects and run docker compose in every project found.

Requirements

  • Python 3.10 or later
  • Docker
  • Docker Compose v2 or later

Install and run

Run with uvx (without installation)

uvx docker-compose-all --help

Run with pipx (without installation)

pipx run docker-compose-all --help

Install with uv and run

uv tool install docker-compose-all
docker-compose-all --help

Install with pipx and run

pipx install docker-compose-all
docker-compose-all --help

Install with pip and run

pip install docker-compose-all
docker-compose-all --help

Usage

# docker-compose-all --help
usage: docker-compose-all [--dca-scan-dir dir_path] [--dca-verbose] [--dca-cleanup] [-h] [-V] [docker_compose_args ...]

docker-compose-all 1.0.0
Recursively scan a directory for Docker Compose projects and run docker compose in every project found.
https://github.com/Phuker/docker-compose-all

positional arguments:
  docker_compose_args   See below for details

options:
  --dca-scan-dir, --docker-compose-all-scan-dir dir_path
                        Directory to recursively scan for Docker Compose projects, default: '.'
  --dca-verbose, --docker-compose-all-verbose
                        Increase verbosity level
  --dca-cleanup, --docker-compose-all-cleanup
                        Clean up unused Docker networks, images, and build cache before exit, unless an error occurred. WARNING: This may cause data loss.
  -h, --help            Show this help message and exit
  -V, --version         Show version and exit

All arguments are passed through to "docker compose" as-is, so any "docker compose" option and command can be used.

Multiple commands can be chained with the separators ';', '&&', and '||', just like chaining shell commands;
the chain is evaluated independently in each project. Quote the separators to protect them from your shell.

Examples:

  Create and start containers in the background
  Equivalent in every project: docker compose up -d

    docker-compose-all up -d

  Rebuild images, then create and start containers in the background
  Equivalent in every project: docker compose --progress plain build --pull --no-cache && docker compose up -d

    docker-compose-all --progress plain build --pull --no-cache '&&' up -d

License

This repo is licensed under the GNU General Public License v3.0

Metadata

Release files for docker-compose-all 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docker-compose-all 1.0.0
File Size Uploaded Provenance Actions
docker_compose_all-1.0.0.tar.gz 17.9 kB Without provenance Details for docker_compose_all-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for docker-compose-all 1.0.0
File Interpreter ABI Platform Actions
docker_compose_all-1.0.0-py3-none-any.whl Python 3 none any Details for docker_compose_all-1.0.0-py3-none-any.whl

Total release size: 37.0 kB

Release files / docker_compose_all-1.0.0.tar.gz

Download URL docker_compose_all-1.0.0.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
67ba0bd45724f1fbc66c909c65a9e12485a973590209a62ceb819c8d86655498
BLAKE2b-256 checksum
How to use checksums
0f21d5f35a073c1058085d6ec7693487b02f3f24349a93c705591d7d70926e41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / docker_compose_all-1.0.0-py3-none-any.whl

Download URL docker_compose_all-1.0.0-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55b3b5b6418857701f9cd8930f842bfd44d83a9a033ad9414d8eda9bf6702933
BLAKE2b-256 checksum
How to use checksums
0fa076602e930eaed071f52b9eaaa796bf3325489a4fff8c1f7264b58faef95e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for docker-compose-all 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page