Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianpursley/slowterm
A simple docker container that waits for SIGINT or SIGTERM, sleeps for a specified amount of time, and then exits with a specified exit code.
https://github.com/brianpursley/slowterm
docker docker-image
Last synced: about 1 month ago
JSON representation
A simple docker container that waits for SIGINT or SIGTERM, sleeps for a specified amount of time, and then exits with a specified exit code.
- Host: GitHub
- URL: https://github.com/brianpursley/slowterm
- Owner: brianpursley
- License: mit
- Created: 2020-08-26T01:35:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-26T13:13:33.000Z (over 4 years ago)
- Last Synced: 2024-06-03T04:29:12.510Z (7 months ago)
- Topics: docker, docker-image
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slowterm
A simple docker container that just waits for SIGINT or SIGTERM, sleeps for a specified amount of time, and then exits with a specified exit code.
Default amount of time to sleep is 75 seconds.
Default exit code is 1.# Usage Examples
Wait for SIGINT or SIGTERM, sleep for 75 seconds and exit with 1 (Default Settings)
```
docker run brianpursley/slowterm
```Wait for SIGINT or SIGTERM, sleep for 5 seconds and exit with 2
```
docker run -e SLEEP=5 -e EXIT=2 brianpursley/slowterm
```