Interview Prep/Docker/Registry, pull and push errors

Pushed image appears on registry but nodes pull the old content with the same tag.

AdvancedTroubleshootingRegistry, pull and push errors
Answer

Likely causes → Node already has the tag cached and imagePullPolicy: IfNotPresent (or Compose didn't pull), or a CDN/mirror cache serves stale manifests.

Diagnose → Compare docker images --digests on the node with the registry digest.

Fix → Deploy by digest or unique tags; docker compose pull; set imagePullPolicy: Always only if you must keep mutable tags.

Prevent → Immutable tags.

All Docker questions Roadmap: Docker & containers

More on Registry, pull and push errors