New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Watchtower docker pull ghcr denied
Hi,
I'm using watchtower for some docker containers and I'm getting this error when watchtower is trying to update ghcr containers:
Unable to update container "/linkwarden-linkwarden-1": Error response from daemon: Head "https://ghcr.io/v2/linkwarden/linkwarden/manifests/latest": denied: denied. Proceeding to next.
Pulls from all other sources (dockerhub,...) are working without any problems. Docker login for ghcr is working and the.json is saved and watchtower can use the json file with all saved logins. Anyone have an idea what I can try or where to look?
Comments
Maybe authorization token is invalid?
Not enough information to suggest anything specific.
Verify that image exists. Run docker login in sudo.
You don't need a login for that image on ghcr. So indeed the token might be invalid/expired as tentor said above.
This also happens with any other image from ghcr
Tried docke login as root and recreated watchtower, still the same error with all images from ghcr
What do you mean exactly with "token"?
Are you pulling
ghcr.io/linkwarden/linkwarden:latest
Yes
~# docker pull ghcr.io/linkwarden/linkwarden:v2.7.1
v2.7.1: Pulling from linkwarden/linkwarden
b7f91549542c: Pull complete
355061e30ed8: Pull complete
cf8b1eccd468: Pull complete
1fe468c858bd: Pull complete
c4f415682f22: Pull complete
5491b332de0f: Pull complete
4f4fb700ef54: Pull complete
1aa6ab624650: Pull complete
3f96a5b95543: Pull complete
4882bd6102a9: Pull complete
4c86c78ba4dd: Pull complete
ef3aadf0d9e4: Pull complete
3258f4fc4e11: Pull complete
1fb3a9b353ea: Pull complete
3e042c947589: Pull complete
6e9e1e627f5a: Pull complete
d81d0ced8631: Pull complete
Digest: sha256:bbd22798ee726184d4571ea4f4d831d57475c86c4965c2bb1c3c2d3de88c728a
Status: Downloaded newer image for ghcr.io/linkwarden/linkwarden:v2.7.1
ghcr.io/linkwarden/linkwarden:v2.7.1
~# docker pull ghcr.io/linkwarden/linkwarden:latest
latest: Pulling from linkwarden/linkwarden
Digest: sha256:bbd22798ee726184d4571ea4f4d831d57475c86c4965c2bb1c3c2d3de88c728a
Status: Downloaded newer image for ghcr.io/linkwarden/linkwarden:latest
ghcr.io/linkwarden/linkwarden:latest
Thanks for trying. Ive recreated the container and pulled the image manual, its working now.