Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve staggerred container restart issue on waku-simulator host #88

Open
stubbsta opened this issue Sep 17, 2024 · 1 comment
Open

Comments

@stubbsta
Copy link
Contributor

The watchtower config is supposed to pull the latest nwaku image when it becomes available and then restart all containers which use that image.
However it seems that only a few containers are restarted, causing nodes of multiple versions of nwaku to be running.
The restart also causes the other nodes to lose peer connectivity and the first messages from the newly restarted node to be identified as invalid messages.

One suggestion is to implement linked docker containers to force watchtower to restart all applicable nodes:
https://containrrr.dev/watchtower/linked-containers/

@stubbsta stubbsta changed the title Resolve staggarred container restart issue on waku-simulator host Resolve staggerred container restart issue on waku-simulator host Sep 17, 2024
@alrevuelta
Copy link
Collaborator

Unsure how the watchtower works, but can that run a script? If we can run a script every time a new image becomes available we can control the logic. eg stop all containers, clean whatever is needed, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants