Skip to content

A very simple Docker cluster management tool, recursively search and control all Docker Compose projects in a directory.

License

Notifications You must be signed in to change notification settings

Phuker/docker-compose-all

Repository files navigation

docker-compose-all

A very simple Docker cluster management tool, recursively search and control all Docker Compose projects in a directory.

screenshots1.png

Requirements

  • Python >= 3.6, with pip installed
  • Docker
  • Docker Compose

Install

python3 -m pip install -U docker-compose-all

Usage

# docker-compose-all --help
usage: docker-compose-all [-h] [--restart | --stop | --down | --build | --up | --ps | --top] [--dokill] [--normi] [--nopull] [--doclean] [-V] [-v] [dir_path]

docker-compose-all 0.2.2
A very simple Docker cluster management tool, recursively search and control all Docker Compose projects in a directory.
https://github.com/Phuker/docker-compose-all

positional arguments:
  dir_path       A directory which contains Docker Compose projects, default: '.'

options:
  -h, --help     show this help message and exit
  --restart      Completely rebuild and rerun all. Including the following steps: stop, down, build, up, ps.
  --stop         Stop all containers
  --down         Make all down. Stop and remove containers, networks, images
  --build        Rebuild all
  --up           Make all up
  --ps           Each ps
  --top          List all process
  -V, --version  Show version and exit
  -v, --verbose  Increase verbosity level (use -vv or more for greater effect)

docker-compose options:
  --dokill       Run "docker-compose kill" instead of "docker-compose stop"
  --normi        Do NOT remove Docker images when running "docker-compose down"
  --nopull       Do NOT pull images when running "docker-compose build"
  --doclean      Clean up before exit, if no error. Remove ALL unused networks, images and build cache. WARN: This may cause data loss.

Documentation

cat docker_compose_all.py

FAQ

License

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

About

A very simple Docker cluster management tool, recursively search and control all Docker Compose projects in a directory.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published