-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
service.update() doesn't pull the latest image tag version #2422
Comments
Hi @tlex Can you try In my tests, both (CLI and Dockerpy) services didn't update using only |
Thanks for the reply. I'm actually trying to avoid In case it matters, my use-case is cioban, a python alternative to shepherd |
Any updates on this? |
Never mind, implemented a workaround with |
* workaround for docker/docker-py#2422 * restructuring the project
I'm trying to update a service to the latest build for the image tag (in my case, the latest build for
:latest
).Running the following code:
Running the above script triggers the following event in docker:
On the other hand, doing the same but with the docker CLI:
Docker events:
Needless to say, I ensured that there was indeed a newer version of the
:latest
tag in the registry.I suspect that the Python SDK is interacting differently with the docker daemon than the CLI client, but I couldn't find any way to actually compare the actual requests. I can see that the CLI is automatically setting the SHA256 in the
Spec.TaskTemplate.ContainerSpec.Image
, while docker-py does not:Version information
The text was updated successfully, but these errors were encountered: