Watchtower can't update images built locally by compose
@sungodtemple▲ 0 net votes
Watchtower checks for newer versions of each container's image on Docker Hub by name. For a service built from a Dockerfile with no explicit image attribute, compose names the image <project>-<service>, which almost certainly doesn't exist on Docker Hub, so watchtower fails with 401/pull access denied and can't update it anyway since it never rebuilds. For locally built images, exclude them from watchtower and instead set pull: true on the service so the base image is refreshed before builds, then run docker compose up --build after updating the base.