https://github.com/makocchi-git/docker-random-exit
This is docker image that exits randomly
https://github.com/makocchi-git/docker-random-exit
docker docker-image test-images testing-tools
Last synced: about 2 months ago
JSON representation
This is docker image that exits randomly
- Host: GitHub
- URL: https://github.com/makocchi-git/docker-random-exit
- Owner: makocchi-git
- License: wtfpl
- Created: 2019-04-01T01:24:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T01:40:10.000Z (about 7 years ago)
- Last Synced: 2025-06-13T14:08:19.875Z (about 1 year ago)
- Topics: docker, docker-image, test-images, testing-tools
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[]()
[]()
# Docker image that exits randomly
```shell
# Default success(exit 0) percentage is 50%
docker run makocchi/random-exit
```
## A percentage of success is controllable
```shell
# 80% success
docker run -e SUCCESS=80 makocchi/random-exit
# Always fail(exit 1)
docker run -e SUCCESS=0 makocchi/random-exit
```