docker-registry-ui
docker-registry-ui copied to clipboard
Can't push to registry : HTTP error
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
404 Not Found
'''
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.