Skip to content

Support graceful shutdown on Synology devices #136

@magicdude4eva

Description

@magicdude4eva

Is your feature request related to a problem? Please describe.

The current Watchtower implementation results in Synology containers reporting unexpected stop:

Image

Refer to the discussion and a possible solution via Synology API here: containrrr#1425 (comment)

Describe the solution you'd like

In the provided link containrrr#1425 (comment) I have managed to created a simple bash-script talking to the synology API, which will result in a graceful stop of the container without notifications. I could just not figure out how the life-cycle hooks work to pass on the container name. I thought I could do this in the pre-update to call the script, stop the container and then watchtower will just take over.

Describe alternatives you've considered

Could not find any other than disabling notifications entirely.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Device:SynologyOrganise Synology related issue into one categoryenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions