Skip to content

v1.42.0

Choose a tag to compare

@amayer1983 amayer1983 released this 18 Jul 08:13

Fixed

  • Stale environment variables pinned onto the new image (#35, @NotRetarded). A container's Config.Env is the image's own ENV merged with the user's -e overrides, and Docker records no distinction. The standalone recreate replicated all of it, handing the NEW image the OLD image's defaults on the command line. Images that carry configuration in their own ENV — unifi-os-server ships its version as ENV APP_VERSION=... — therefore kept reporting the old version after a successful update: the new image really was running (image IDs matched), it just received the stale value. Docksentry now replicates only entries that differ from the old image's own ENV, so user overrides survive while inherited defaults come fresh from the new image.

Changed

  • Post-update image verification now covers the standalone path too, and runs before the rollback target is dropped.