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

https://github.com/brianpursley/sleep

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/sleep

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

          

# sleep

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 0

# Usage Examples

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

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