Skip to content

Add ability to have a shutdown hook #2100

@noahwhite

Description

@noahwhite

It would be useful to have the ability to set a stop/shutdown hook. Much like ENTRYPOINT but for when docker stop is run. Docker stop I believe sends a SIGKILL 15 then a KILL 9 (die damn you) which pulls the rug out from under the processes. If you could set up an EXITPOINT process then it would be possible to point it at a shell script or such which could gracefully shut things down prior to container stoppage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions