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

htpasswd has disappeared #11060

Closed
scottstensland opened this issue Jun 29, 2020 · 5 comments
Closed

htpasswd has disappeared #11060

scottstensland opened this issue Jun 29, 2020 · 5 comments

Comments

@scottstensland
Copy link

scottstensland commented Jun 29, 2020

File: registry/deploying.md

binary htpasswd used to work OK as per your docs however now it has disappeared when using your

docker run --entrypoint htpasswd registry:2 -Bbn ${local_username}  ${local_reg_pwd}  > ${GKE_DOCKER_REG_INFO}/auth/htpasswd

if you pin to version 2.7.0 it does work

docker run --entrypoint htpasswd registry:2.7.0 -Bbn ${local_username}  ${local_reg_pwd}  > ${GKE_DOCKER_REG_INFO}/auth/htpasswd 

for details see

GoogleContainerTools/jib@f816c83

GoogleContainerTools/jib#2539

distribution/distribution-library-image#106

please update your docs to tell us what is now the new proper usage to create password file as your doc gives bad advice

@raylua2566
Copy link

Not work for 2.7.1 again.

@sekhemrekhutawysobekhotep

true ... avoid using 2.7.1 as its broken instead use 2.7.0 for same reason as above OP has

@scottstensland
Copy link
Author

here is corresponding stackoverflow ticket where folks have problems due to this unresolved issue

https://stackoverflow.com/questions/62531462/docker-local-registry-exec-htpasswd-executable-file-not-found-in-path/62531540#62531540

@craig-osterhout
Copy link
Contributor

This looks like it was fixed in d39b0d8

If the issue still persists, please let us know.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker docker locked and limited conversation to collaborators Mar 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants