-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
docker-compose does not respect new image version #9276
Comments
+1 |
It also seems not to detect a changed Dockerfile, for example. |
It seems that @benedikt-bartscher does your situation get resolved with a |
This has been fixed by #9261 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Since docker-compose v2.3.0 docker-compose does not detect newer images within the same image tag. With docker-compose v2.2.3 and lower this issue is not reproduceable. I suspect this PR: #9214
My example is for locally build images, cause it's easy to reproduce. But the same applies for images with the same tag pulled from remote docker registrys.
Steps to reproduce the issue:
docker-compose build && docker-compose up -d
docker-compose build && docker-compose up -d
againDescribe the results you received:
Containers are not recreating and keep using the old image. This can be checked with
docker ps
anddocker image ls
. The new image with the new digest is pulled correctly but not used.Describe the results you expected:
Compose should recognize the new image with different digest and start recreating containers with the new image.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker compose version
:Output of
docker info
:Additional environment details:
The text was updated successfully, but these errors were encountered: