Skip to content

marouni/python-docker-chaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Chaos Monkey

Chaos monkey for your Docker containers

Supported actions

  • Randomly restart containers that match a regex

Install

In a python virtual environment

pip install docker_chaos_monkey

Usage

Randomly restart a container that matches my_container* each 30 seconds :

docker-chaos-monkey -n my_container* -s 30

Help

usage: docker-chaos-monkey [-h] -n NAME [-s SLEEP] [-v]

Docker container chaos

optional arguments:
  -h, --help            show this help message and exit
  -n NAME, --name NAME  container name regex pattern
  -s SLEEP, --sleep SLEEP
                        sleep duration in seconds between consecutive actions
  -v, --verbose         increase output verbosity

Releases

No releases published

Packages

No packages published

Languages