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

Unauthenticated Access to Docker Repositories #1317

Open
1 of 2 tasks
fink-andreas opened this issue Oct 17, 2023 · 2 comments
Open
1 of 2 tasks

Unauthenticated Access to Docker Repositories #1317

fink-andreas opened this issue Oct 17, 2023 · 2 comments
Assignees
Labels
docker Docker adapter enhancement New feature or request stale

Comments

@fink-andreas
Copy link

fink-andreas commented Oct 17, 2023

Sometimes it is required to provide access to docker repositories without any authentication. It would be great to have this feature in artipie.

The feature is, for example, available in Nexus:
https://help.sonatype.com/repomanager3/nexus-repository-administration/formats/docker-registry/docker-authentication

  • Add the anonymous user as a user who doesn't have credentials.
  • Implement Token Authentication for the docker adapter. Add a token for an anonymous user. If the user auth request doesn't contain credentials, it'll get the anonymous token and all operations will be authorized on behalf of the anonymous user.
@fink-andreas fink-andreas added the enhancement New feature or request label Oct 17, 2023
@dgarus dgarus self-assigned this Nov 22, 2023
This was referenced Nov 24, 2023
@dgarus
Copy link
Contributor

dgarus commented Dec 6, 2023

Docker client does not handle 401 Unauthorized response codes from registry correctly #18569
So, there is no a simple way to use authenticated and unauthenticated users to access the same repository.

Copy link

Issue is stale, CC: @artipie/maintainers

@github-actions github-actions bot added the stale label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Docker adapter enhancement New feature or request stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants