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
Regression: Service image no longer pinned by hash in API v1.26 #34324
Comments
From additional testing, when updating a service manually via command line I'm getting the warning:
EDIT
|
Probably related to / duplicate of #33929 |
Absolutely, the description in #33929 matches what I'm seeing. (I don't think this should be a dup though, as this issue is specifically relating to the regression breaking backwards compatibility with an existing API version) |
The other issue is also a regression breaking backwards comp., just on the CLI and not through the API. But I suspect that the root for both issues is the same, which just affects all possible ways to trigger the update. |
Description
Creating a service in 17.06 fails to pin image by tag, causing subsequent calls to
/v1.26/services/<service>/update
failing to update to most recent image when givenimage:tag
Steps to reproduce the issue:
docker-py
library (using API v1.26)Describe the results you received:
docker service inspect
shows image as provided (inimage:tag
format)Describe the results you expected:
docker service inspect
show service manifest linked to SHA hash reference of the imageAdditional information you deem important (e.g. issue happens only occasionally):
Seems to be related to #32388 but has affected earlier API versions.
Output of
docker version
:The text was updated successfully, but these errors were encountered: