Sign inSign up

brianpursley/error

By brianpursley

•Updated over 6 years ago

Sleeps for a specified amount of time and then exits with a specified exit code (default=1)

Image
Web servers
0

459

brianpursley/error repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

2.7 MB

Last updated

over 6 years ago

docker pull brianpursley/error