Open koraykoska opened 2 years ago
Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏
You need to supply --include-stopped
(and maybe --include-restarting
) for watchtower to check containers that are in those states.
Describe the bug
There is a discrepancy between the documentation and the actual behaviour. According to the documentation:
In reality, watchtower does not update in those cases and reports that the pre-update hook failed so the update won't be applied.
Steps to reproduce
--interval 30 --cleanup --label-enable --rolling-restart --enable-lifecycle-hooks
com.centurylinklabs.watchtower.lifecycle.pre-update
to a watchtower enabled serviceExpected behavior
Watchtower should update stopped or crashing services as well, even with a pre-update hook. This would be in line with the documentation. Also, there would be no other way to update crashing services (other than manually) in those cases.
Screenshots
No response
Environment
Your logs
Additional context
No response