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

Explain important caveat in htpasswd tutorial #3630

Merged
merged 1 commit into from Jun 20, 2022

Conversation

raxod502
Copy link
Contributor

Proposed changes

Documentation improvement. It took me almost an hour to track down #2817 (comment) as the reason my private Docker registry was not working, because of the lack of any error message pointing to the cause.

Related issues (optional)

Relates to #2817, but does not really solve it. In my opinion, a full solution to that issue would involve Docker Registry outputting a relevant error message when the incorrect credential type is used, rather than silently accepting it and then failing all login attempts.

This is a copy of docker/docs#14544 since per docker/docs#14544 (comment) this repository has the official reference docs, and the others are deprecated / will be removed.

Signed-off-by: Radon Rosborough <radon.neon@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Merging #3630 (d64056a) into main (cd51f38) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3630   +/-   ##
=======================================
  Coverage   56.33%   56.33%           
=======================================
  Files         101      101           
  Lines        7313     7313           
=======================================
  Hits         4120     4120           
  Misses       2536     2536           
  Partials      657      657           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd51f38...d64056a. Read the comment docs.

Copy link
Collaborator

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@milosgajdos milosgajdos merged commit 3e4f8a0 into distribution:main Jun 20, 2022
@raxod502 raxod502 deleted the patch-1 branch June 20, 2022 21:17
@@ -400,6 +400,12 @@ secrets.
> authentication to work.
{:.warning}

> **Warning**
> The official registry image **only** supports htpasswd credentials in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this apply only to the image or to the registry in general?

Somewhat wondering

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

Successfully merging this pull request may close these issues.

None yet

5 participants