iexec-worker icon indicating copy to clipboard operation
iexec-worker copied to clipboard

Check the docker image that is pulled has the correct id

Open Ugo opened this issue 7 years ago • 2 comments

Currently if an app dev pushes a new version of a docker image with a same tag, the worker will not see the difference when executing an task based on an old version of the image. Since the id of the docker image that should be used in the task is available, it should be used to check that the worker executes the task on the right docker image.

Ugo avatar Feb 20 '19 08:02 Ugo

The repoDigest of a docker image can be obtained with the following command: docker inspect --format='{{.RepoDigests}}' IMAGE_NAME

Ugo avatar Feb 21 '19 15:02 Ugo

I think we can merge this issue with that one : https://github.com/iExecBlockchainComputing/iexec-worker/issues/91

james-toussaint avatar Mar 04 '19 16:03 james-toussaint