Skip to content

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

20 Commits

Folders and files

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
docker-compose-all version 0.1.7
usage: docker_compose_all.py [-h] [--restart | --stop | --down | --build | --up | --ps | --top] [--dokill] [--normi] [--nopull] [--doclean] [--normv] DIR

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

positional arguments:
    DIR         A directory which contains Docker Compose projects

optional arguments:
    -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

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 images, networks, volumes. WARN: This may cause data loss.
    --normv     Do NOT remove ALL unused volumes when "--doclean"

https://github.com/Phuker

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.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages