https://github.com/err0r500/chaos-container
https://github.com/err0r500/chaos-container
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/err0r500/chaos-container
- Owner: err0r500
- Created: 2019-10-17T12:08:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-05T11:58:58.000Z (over 6 years ago)
- Last Synced: 2024-06-19T15:07:17.805Z (about 2 years ago)
- Language: Go
- Homepage: https://cloud.docker.com/repository/docker/err0r500/chaos-container
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chaos-container
This simple container can be used in your chaos engineering experiments
## Status code
- get returns a 500 on every request
```
docker run -p 8080:8080 err0r500/chaos-container
```
- status env var can be used in order to customize the response code
```
docker run -p 8080:8080 -e STATUS=503 err0r500/chaos-container
```
- freq env var can be used in order to customize frequency of the response code (200 the rest of the time)
```
docker run -p 8080:8080 -e STATUS=503 FREQ=50 err0r500/chaos-container
```