A Chaos Server implementation that terminates Docker containers, used by April tool.
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.
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.