-
I've been playing around with
The question I'm seeking clarification on is, how do rollbacks work if Since updating between tags for the same base name is likely wrought with perils (using "latest updated" or semantic versioning not likely to work for everyone), I would expect rollbacks to re-tag against the old digest, not the old (user-provided) name. I'm probably missing something, though, since the functionality here has been available for a while; documentation does not help illuminate a real-world use-case. Having an example of one would definitely help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
@vrothberg PTAL |
Beta Was this translation helpful? Give feedback.
-
That is correct. There's an inherent ambiguity in using tags, so the identify of an image is the digest.
What Podman does essentially is to
Technically old-name and new-name are the same. What changes is the digest. So Podman knows the digest of the "old image" and the one of "new image". During rollback, Podman does a
The "local" policy is very similar to the "registry" one - at least in theory. But instead of pulling down a new image from a registry (i.e., An example may be if an admin chooses to manually update images. |
Beta Was this translation helpful? Give feedback.
-
What about a healthcheck? When a container starts, do we know if it is healthy or not? Or do they start healthy and end up unhealthy? |
Beta Was this translation helpful? Give feedback.
That is correct. There's an inherent ambiguity in using tags, so the identify of an image is the digest.