Gitea Container Registry

Hey, I’ve tried running the Gitea Container Registry but I can’t push images to it.

My Gitea instance runs in Docker and I use a reverse proxy (Nginx Proxy Manager) to open it to the outside world. Everything works fine except the Container Registry. Docker login succeeds, but when I try to push an image I get this error:

docker push
error parsing HTTP 404 response body: invalid character 'N' looking for beginning of value: "Not found.\n"

My nginx additional config:

location / {
        proxy_pass http://$server:$port;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;

Checked controlls:

Cache Assets: yes
Block Common Exploits: yes
Websockets Support: yes
Force SSL: yes
HTTP/2 Support: yes
HSTS Enabled: yes
HTST Subdomains: no

Thanks for your help
Best regards Niclas

Hi @Niclas,

Did you find a solution for this problem?

The container registry is not released in a stable version. You are likely using 1.16.x version of Gitea, but the container registry will be released in 1.17.x

1 Like