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
- Host: GitHub
- URL: https://github.com/brianpursley/sleep
- Owner: brianpursley
- License: mit
- Created: 2020-05-11T14:50:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-03T12:36:48.000Z (almost 6 years ago)
- Last Synced: 2025-03-24T02:37:32.878Z (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
# 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
```