one container no longer updated #1483
-
Hi community, Recently we noticed one of our containers is no longer automatically updated by watchtower. We can manually upgrade using docker-compose tough. All other containers get updated without any problems. I modified watchtower's docker-compose.yml to enable tracelogs and i see the following:
I already tried to provide login credentials for ghcr.io by using an auth token,
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
When asking the repository for the latest version, it responds with a hash that matches the current image, so no update is performed. Are you sure that the image is really updated? |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks for the fast reply. You are correct, we did indeed update our container manually, so the output i have shown was from a container that didn't have an update available. I actually forgot to mention the output was exactly the same as when there was, in fact, a container that needed updating. I have manually downgraded changedetection to version 0.39.21 (while currently the latest version is 0.39.22.1) and then retried the procedure.
So, even when there's an update available, i see the local and remote checksums matching. Kind regards, |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks for the fast reply. I'm not really a docker specialist, nor a watchtower specialist, so i hope i'm not asking dumb questions. I was under the (wrong) impression watchtower also verified which image was currently in use, and also restarted the container if a newer image was available locally. To test further, i have now cleaned up my local images, removed the latest image of changedetection, so only the image of version 0.39.21 was available:
I have verified the image used by my running container
Then i stopped watchtower, added "--trace --interval 20" to the parameters and started the watchtower container in the foreground. My output from changedetection was:
So, eventough the local image is older than the latest image (which i removed from my local system), it still says the sha256 checksum locally is equal to the checksum remotely. Am i missing something else? Kind regards, |
Beta Was this translation helpful? Give feedback.
-
Thanks for getting back to me... I now have a better understanding of how watchtower works. For now, i'll mark this one as resolved (or, better, "works as designed") 👍 |
Beta Was this translation helpful? Give feedback.
Thanks for getting back to me... I now have a better understanding of how watchtower works. For now, i'll mark this one as resolved (or, better, "works as designed") 👍