Skip to content

Run multiple instances of a set of Docker containers on different networks via docker-compose

Notifications You must be signed in to change notification settings

sears-s/docker-dup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

docker-dup

Run multiple instances of a set of Docker containers on different networks via docker-compose.

Requirements

  • Linux host
  • Python 3.6+
  • Python yaml module (pip install yaml)
  • docker
  • docker-compose

Installation

wget https://raw.githubusercontent.com/sears-s/docker-dup/master/docker-dup.py

Usage

usage: docker-dup.py [-h] command ...

docker-dup - Run multiple instances of a set of Docker containers on different
networks via docker-compose. Settings located in ./settings.yml, which is
created automatically if it does not exist.

positional arguments:
  command
    run       run .yml config file via docker-compose up
    runi      run an image as a single container
    ex        execute scripts for currently running containers
    stop      stop and remove all containers and networks
    clear     remove all images with --force
    mkc       create .yml config file template
    mki       create docker image template in image directory
    shell     get a shell to a running container

optional arguments:
  -h, --help  show this help message and exit

About

Run multiple instances of a set of Docker containers on different networks via docker-compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages