Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't pull images from lscr.io/linuxserver #3499

Open
AllenShen opened this issue Sep 11, 2024 · 4 comments
Open

Can't pull images from lscr.io/linuxserver #3499

AllenShen opened this issue Sep 11, 2024 · 4 comments
Assignees
Labels

Comments

@AllenShen
Copy link

AllenShen commented Sep 11, 2024

Bug report:

When pulling image from lscr.io/linuxserver, like lscr.io/linuxserver/plex:latest or lscr.io/linuxserver/kasm:latest, error occured:
image
actually the image doesn't require authentication

we found out this image registry is a 'mirror' registry, requests to this registry will be moved(302) to ghcr.io, when we just run ‘docker pull ghcr.io/linuxserver/plex:latest’, it works. Seems like dragonfly doesn't support responses with http code 302 when reading blobs from registry.

Expected behavior:

pull image successfully

How to reproduce it:

docker pull lscr.io/linuxserver/plex:latest

Environment:

  • Dragonfly version:
    2.1.45
  • OS:
    ubuntu 22.04
  • Kernel (e.g. uname -a):
    6.5.0-35-generic
  • Others:
@gaius-qi
Copy link
Member

@jim3ma

@caiyesd
Copy link

caiyesd commented Sep 11, 2024

I met this issue as well.

@lixin0111
Copy link

registry302
have discusses this issue in dingding group ;
when download the blob layer dragonfly receive an 302 response, golang http-client auto redirect to the new registry and got an 401 error;
dragonfly need to reply this 302 response to docker, and docker will redownload the blob in another registry with token.

@jim3ma
Copy link
Member

jim3ma commented Sep 12, 2024

We will add an option to avoid redirect http in dragonfly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants