An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![makocchi/random-exit](https://shields.beevelop.com/docker/image/image-size/makocchi/random-exit/latest.svg)]()
[![makocchi/random-exit](https://shields.beevelop.com/docker/image/layers/makocchi/random-exit/latest.svg)]()

# 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
```