Skip to content

Stop containers in Synology Docker #416

@alexkiddddd

Description

@alexkiddddd

Hi there, if I use nautical backup with a synology NAS, every time that the containers are stopped to make the backup I receive the following warning: Docker container stopped unexpectedly.
After some research I have found that docker on Synology expect the containers to be stopped in a specific way:
https://www.reddit.com/r/synology/comments/10wkxuc/comment/j7nyxos/
To stop a container:

synowebapi --exec api=SYNO.Docker.Container method="stop" version=1 name="$container"
To start a container:

synowebapi --exec api=SYNO.Docker.Container method="start" version=1 name="$container"

Can something like this be applied to nautical?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions