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
- Host: GitHub
- URL: https://github.com/brianpursley/error
- Owner: brianpursley
- License: mit
- Created: 2020-05-11T15:06:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-03T12:37:36.000Z (almost 6 years ago)
- Last Synced: 2025-01-29T08:43:01.120Z (over 1 year ago)
- Topics: docker, docker-image
- 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
# 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
```