-
Notifications
You must be signed in to change notification settings - Fork 135
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
curl UNAUTHORIZED #99
Comments
My configurationcat conf/registry/config.yml
ipaddress is a lan ip address. |
I see now how to get token (GET http://ipaddress:8080/api/auth), but still confuse how to use token in curl. |
I am facing the same issue. how can I do it? |
|
thank you so much for your reply. but the link is not working with the docker-registry-web auth. curl -s -H "Content-Type: application/json" -X POST -d '{"j_username": "exiting_username", "j_password": "real_password"}' https:///api/auth](http://ipaddress:8080/api/auth OR curl -s -H "Content-Type: application/json" -X POST -d '{"username": "exiting_username", "password": "real_password"}' https:///api/auth](http://ipaddress:8080/api/auth the answer is No auth So I am still looking for a solution to obtain a TOKEN from docker-regitry-web via wget or curl. |
curl UNAUTHORIZED
I run docker-compose.yml in docker-registry-web/examples/auth-enabled, and everything work fine.
Now I have thoudsands of images to prune, and I choose not to delete them one by one using Web UI.
I want to try a script contains curl command, but when runing
I got
How to get auth and run curl ?
The text was updated successfully, but these errors were encountered: