Skip to content

Stop (without restarting) container after updating image? #108

@i0ntempest

Description

@i0ntempest

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

First of all thanks for maintaining this fork!
I'm using macOS and I use launchd to launch my containers on login. Now watchtower updates the images just fine, but when it restarts the container, It'll conflict with launchd because launchd will try to restart the container when it sees the container has exited.

Describe the solution you'd like

A --stop-only argument makes watchtower stops the updated container and leaves the restart to some other process (in my case it's launchd).

Describe alternatives you've considered

N/A

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions