Sign inSign up

kilna/exitpoint

By kilna

Updated almost 2 years ago

A container to run an exitpoint.sh script upon termination

Image
0

5.1K

kilna/exitpoint repository overview

exitpoint

A container image to run an exitpoint.sh script upon termination

DockerHub kilna/exitpoint Docker Image Version Docker Image Size (tag) Docker Pulls Docker Stars

GitHub kilna/exitpoint GitHub forks GitHub watchers GitHub Repo stars

A docker image that runs an exitpoint.sh script when terminated.

Usage

This image is meant primarily to be a base image that will be derived from, see the example Dockerfiles.

Examples
Dockerfile ENV Variables

These should be set by ENV statements in your derived container's Dockerfile.

  • EXITPOINT - Sets the path of the exitpoint script. Defaults to /exitpoint.sh.
  • ENTRYPOINT - An optional entrypoint script to run by this base image's entrypoint script /exitpoint-entrypoint.sh.
Exit Point variables

These are environment variables that are available to your exitpoint script

  • CMD_EXIT - Contains the exit code as returned from the entrypoint + docker CMD.
  • SIGNAL - Contains the name of the signal received that caused it to be called.

Author

Kilna, Anthony [email protected]

Tag summary

Content type

Image

Digest

sha256:46c7b8c3c

Size

763.3 kB

Last updated

over 2 years ago

docker pull kilna/exitpoint