You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen a few cases that if docker manifest push --purge was not completed successfully, the next docker manifest create will end up creating manifest.list.json with duplicated entries.
Having duplicated entries for the same architecture / os combination should not to my mind be a valid state, as it is impossible to predict which entry will be consumed (if there are arch specific builds between these two points)
I've recently come across this sort of issue where I am taking an existing image that is tagged with a major.minor.bugfix and i am just wanting to write the manifest as a tag with major.minor.
I end up with two manifests for amd64/linux which doesn't make sense to me:
I suppose I could add the --purge flag to my push but that seems like it isn't reliable at all times.
The only other workaround I've seen is to make sure to also do a docker manifest rm "mbentley/grafana:${MAJOR_MINOR_TAG}" || true before creating my manifest to ensure it is creating the manifest but I believe there are some issues with that which would trigger tools like watchtower to possibly re-create a container as reported here: mbentley/docker-omada-controller#124.
I haven't taken the time to try to reproduce this but it seems like possibly re-writing a manifest, even if nothing changes for the targeted architectures or digests of their images can trigger watchtower to take action.
Description
I've seen a few cases that if
docker manifest push --purge
was not completed successfully, the nextdocker manifest create
will end up creating manifest.list.json with duplicated entries.Having duplicated entries for the same architecture / os combination should not to my mind be a valid state, as it is impossible to predict which entry will be consumed (if there are arch specific builds between these two points)
Steps to reproduce the issue:
Describe the results you received:
manifest.list.json with duplicate entries for amd64 / linux (but with different digests)
Describe the results you expected:
Single item for amd64 / linux
Additional information you deem important (e.g. issue happens only occasionally):
The example above is somewhat artificial, but I've seen manifest.list.jsons in the wild with duplicated entries.
Output of
docker version
:Additional environment details (AWS, VirtualBox, physical, etc.):
I've seen this behaviour in a range of environments.
The text was updated successfully, but these errors were encountered: