krallin / tini

A tiny but valid `init` for containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remap exit codes based on environment variable

tavin opened this issue · comments

I've recently had to deal with a hardcoded tini command line in a 3rd party docker entrypoint. Instead of having to override the entrypoint to wedge -e 143 in there, it'd be nice if it were possible to pass TINI_EXIT_REMAP=143 or something like that. It could be a list separated by spaces.