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 push to registry : HTTP error #321

Open
djaym7 opened this issue Jun 19, 2023 · 1 comment
Open

Can't push to registry : HTTP error #321

djaym7 opened this issue Jun 19, 2023 · 1 comment

Comments

@djaym7
Copy link

djaym7 commented Jun 19, 2023

Hi, I use this docker registry UI and I have an issue...

Bug description

Registry started using : docker run -d -p 5000:80 -e REGISTRY_TITLE="PRegistry" -e REGISTRY_URL=http://localhost:5000 joxit/docker-registry-ui:latest

when docker push to local:5000 it gives below error. I can't use https.

'''
0002c93bdb37: Waiting
error parsing HTTP 404 response body: invalid character '<' looking for beginning of value: "\r\n<title>404 Not Found</title>\r\n\r\n

404 Not Found

\r\n
nginx/1.25.0\r\n\r\n\r\n"

'''

@djaym7 djaym7 changed the title HTTP error Can't push to registry : HTTP error Jun 20, 2023
@Joxit
Copy link
Owner

Joxit commented Jun 25, 2023

Hello, you are miss-configuring the project.

First of all joxit/docker-registry-ui contains only a UI, it does not bundle a docker registry server.

By setting REGISTRY_URL to http://localhost:5000 you are creating a loop on the UI.

Please refer to my documentation (FAQ and Available options) and Recommended Docker Registry Usage for a correct basic configuration.

If you need to setup HTTPS, you must configure a reverse proxy in front of my project and your docker registry using NGINX or apache2/httpd and common OPS knowledge.

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

No branches or pull requests

2 participants