An nginx container that will properly healthcheck until LIFESPAN seconds, before killing itself.
1M+
An HTTP-serving container that will properly respond to healthchecks at / until LIFESPAN seconds, before killing itself.
Useful to test cluster configurations where shuffling containers can cause bursts in orchestration logic.
NOTE: healthchecks are
| Variable | Default | Description |
|---|---|---|
| LIFESPAN | 60 | How long the container will properly respond to healthchecks before killing itself |
| RANDOM_MIN | 0 | Combined with RANDOM_MAX, will randomize a value to add to LIFESPAN |
| RANDOM_MAX | 0 | Combined with RANDOM_MIN, will randomize a value to add to LIFESPAN |
| EXIT_CODE | 0 | Container process will exit with this code, on DC/OS, set to 1 |
Content type
Image
Digest
Size
40.4 MB
Last updated
almost 6 years ago
docker pull bryanlatten/docker-suicide