Manage your Docker Compose stack with the ability to exclude services.
When working with large Docker Compose stacks, you often need to manage subsets of services without modifying your docker-compose.yaml. Dockexclude makes this simple by letting you exclude specific services from up, down, start, and stop operations.
git clone https://github.com/0xN1nja/dockexclude.git
cd dockexclude
make buildAfter building, you can add the binary to your /usr/local/bin.
With exclusions
dockexclude <command> --exclude <service1>,<service2>,...Without exclusions (acts like regular docker compose)
dockexclude <command>Start services in detached mode (excluding specified services)
dockexclude up --exclude service1,service2Start previously created containers (excluding specified services)
dockexclude start --exclude service1,service2Stop running containers (excluding specified services)
dockexclude stop --exclude service1,service2Stop and remove containers (excluding specified services)
dockexclude down --exclude service1,service2Run without exclusions (normal Docker Compose behavior)
dockexclude up
dockexclude down
dockexclude start
dockexclude stop