Introduce image digest pinning in Portainer #9407
deviantony
started this conversation in
Ideas
Replies: 1 comment
-
|
As #cebb5a is removing the code comment on the workaround for digest pinning, I'm documenting it. Code comment: Explanation: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the merge of #1984
This PR introduced a work-around inside Portainer to leverage image digest pinning on the daemon side. This is not supported for the recent Docker client versions and I believe that we should follow how the Docker Client interacts with the Docker daemon.
Thus, we should implement digest pinning inside Portainer, e.g. the ability to query a registry to retrieve the digest associated to an image repository before sending a create/update service request (and remove the work-around introduced by the aforementioned PR by the way).
This will give us control over any error that might be raised during the retrieval of the digest associated to an image, which is not the case at the moment as it's done inside the Docker daemon.
Beta Was this translation helpful? Give feedback.
All reactions