Skip to content

barbosaigor/dockercs

Repository files navigation

Docker Chaos Server

A Chaos Server implementation that terminates Docker containers, used by April tool.

What is a Chaos Server ?

Chaos server hosts an API which terminates instances. It is used by April CLI, which runs its algorithm and asks the Chaos Server to finish any selected instances. All Chaos Servers implementations must implement the interface defined in april/chaosserver package, so CSs must include that package and implement the ChaosServer interface, where the business logic to terminate instances should be defined.

Installation

go get -u github.com/barbosaigor/dockercs/...

DockerCS hosts an HTTP API
-u username for chaos server auth
-s password for chaos server auth
-p port number (Default is 7071)

dockercs -u myusername -s mysecret  

DockerCS requests dockerd locally, make sure that DockerCS has access to dockerd.

About

A chaos server for the April tool.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages