-
Notifications
You must be signed in to change notification settings - Fork 908
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
image updaed but contianer not #1323
Comments
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! 🙏 |
I don't this is a problem with watchtower.
If the image is indeed the new version, then there is nothing more watchtower can do. I don't know how you are getting these odd results though. Perhaps log a version number in the startup and check what it says after a update? docker inspect xxxx | grep Image Perhaps there is something caching your results? Or you are somehow connecting to the wrong instance? |
i try the cmd above before and after updating.the Image's sha256 has changed.watchtower pull the latest image.but also api gets the odd results. |
when i get the odd results,i try these cmds and it works
|
Hi.. Whats in your /xxx/config.json file? |
Describe the bug
i push an image to my private docker hub,then watchtower pull it automatically,seems everything is ok
i use the command
docker save 6ba9e53fe298 > xxx.zip
to save the image,i check the class in the jar of the image.the code is latest.but when i request the api, the api response is for the last version.
then i rebuild the contianer by portainer,the app also performs last version api.
then i remove the contianer by portainer.then create it,now the app performs latest version api.
To Reproduce
docker logs -f watchtower
docker save 6ba9e53fe298 > xxx.zip
to save the image of runtime and check the code,the code is latest.(what?!)stop&start
kill&start
andrestart
,also app performs old version apiExpected behavior
when watchtower pull the latest image,container rebuild automatically,and app performs latest version api.
Screenshots
Environment
The text was updated successfully, but these errors were encountered: