Skip to content

Manage your Docker Compose stack with the ability to exclude services

Notifications You must be signed in to change notification settings

0xN1nja/dockexclude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockexclude

Manage your Docker Compose stack with the ability to exclude services.

Why Dockexclude?

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.

Installation

git clone https://github.com/0xN1nja/dockexclude.git
cd dockexclude
make build

After building, you can add the binary to your /usr/local/bin.

Usage

Basic Syntax

With exclusions

dockexclude <command> --exclude <service1>,<service2>,...

Without exclusions (acts like regular docker compose)

dockexclude <command>

Commands

Start services in detached mode (excluding specified services)

dockexclude up --exclude service1,service2

Start previously created containers (excluding specified services)

dockexclude start --exclude service1,service2

Stop running containers (excluding specified services)

dockexclude stop --exclude service1,service2

Stop and remove containers (excluding specified services)

dockexclude down --exclude service1,service2

Run without exclusions (normal Docker Compose behavior)

dockexclude up
dockexclude down
dockexclude start
dockexclude stop

About

Manage your Docker Compose stack with the ability to exclude services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published