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

https://github.com/brianpursley/error

A simple docker container that just sleeps for a specified amount of time and then exits with a specified exit code
https://github.com/brianpursley/error

docker docker-image

Last synced: about 2 months ago
JSON representation

A simple docker container that just sleeps for a specified amount of time and then exits with a specified exit code

Awesome Lists containing this project

README

          

# error

A simple docker container that just sleeps for a specified amount of time and then exits with a specified exit code

Default amount of time to sleep is 30 seconds
Default exit code is 1

# Usage Examples

Sleep for 30 seconds and exit with 1 (Default Settings)
```
docker run brianpursley/error
```

Sleep for 5 seconds and exit with 2
```
docker run -e SLEEP=5 -e EXIT=2 brianpursley/error
```