Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 735 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 735 Bytes

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