dex icon indicating copy to clipboard operation
dex copied to clipboard

Dex Docker Image can't be pull anonymous

Open marcelobartsch-jt opened this issue 2 years ago • 3 comments

Preflight Checklist

  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • [X] I am not looking for support or already pursued the available support channels without success.

Version

2.32.0 and 2.30.2

Storage Type

Kubernetes

Installation Type

Official container image

Expected Behavior

docker pull ghcr.io/dexidp/dex:v2.32.0

should pull the image

Actual Behavior

docker pull ghcr.io/dexidp/dex:v2.32.0 Error response from daemon: Head "https://ghcr.io/v2/dexidp/dex/manifests/v2.32.0": denied: denied

Steps To Reproduce

I need to login with my Github PAT to be able to pull the image

Additional Information

docker pull was working until a few days ago

Configuration

nothing special

Logs

No response

marcelobartsch-jt avatar Jun 22 '22 12:06 marcelobartsch-jt

Currently facing the same issue Failed to pull image "ghcr.io/dexidp/dex:v2.30.3": rpc error: code = Unknown desc = failed to pull and unpack image "ghcr.io/dexidp/dex:v2.30.3": failed to copy: httpReadSeeker: failed open: unexpected status code https://ghcr.io/v2/dexidp/dex/blobs/sha256:ea768edbd9c9e2e4b84d74be8f4ee8244024a62a9c55d18a4fe1dbcb32427341: 401 Unauthorized - Server message: unauthorized: unauthenticated: User cannot be authenticated with the token provided.

dtotopus avatar Jun 22 '22 12:06 dtotopus

I can't seem to reproduce the issue on a brand new VM:

root@docker190312onubuntu2004-s-1vcpu-2gb-ams3-01:~# docker pull ghcr.io/dexidp/dex:v2.32.0
v2.32.0: Pulling from dexidp/dex
2408cc74d12b: Pull complete 
cf5187287c3f: Pull complete 
b0a7fc2c3253: Pull complete 
f450a8e0944b: Pull complete 
c1774460302d: Pull complete 
13a5a3fe38b8: Pull complete 
c74b0cbbd332: Pull complete 
962359dd15b8: Pull complete 
5f7994103d2e: Pull complete 
10986cd1373d: Pull complete 
Digest: sha256:85481bc46e04163ad0f2b6a003aef441ad324ffd48e78e5076c166b308c4f5fe
Status: Downloaded newer image for ghcr.io/dexidp/dex:v2.32.0
ghcr.io/dexidp/dex:v2.32.0

Are you sure you are not logged in with an invalid token?

sagikazarmark avatar Jun 22 '22 14:06 sagikazarmark

Anyone still having this issue?

sagikazarmark avatar Jul 05 '22 06:07 sagikazarmark

Closing this due to inactivity. Feel free to open a new issue if this happens again.

nabokihms avatar Aug 29 '22 07:08 nabokihms

> docker pull ghcr.io/dexidp/dex:v2.30.2
Error response from daemon: Head "https://ghcr.io/v2/dexidp/dex/manifests/v2.30.2": denied: denied

As soon as I remove ghcr.io authorization from .docker/config.json,

> docker pull ghcr.io/dexidp/dex:v2.30.2
v2.30.2: Pulling from dexidp/dex
Digest: sha256:27cf2e8644f2ea1ebc6de711b0ace4b5ee2d1f442e148eabbaa8c68308062475
Status: Image is up to date for ghcr.io/dexidp/dex:v2.30.2
ghcr.io/dexidp/dex:v2.30.2

ilya-epifanov avatar Sep 20 '22 12:09 ilya-epifanov