A very simple Docker cluster management tool, recursively search and control all Docker Compose projects in a directory.
- Python >=
3.6, withpipinstalled - Docker
- Docker Compose
python3 -m pip install -U docker-compose-all# 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/Phukercat docker-compose-all.pyThis repo is licensed under the GNU General Public License v3.0
