Skip to content

How to enable container registry ? #19366

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

Closed
znoxx opened this issue Apr 10, 2022 · 3 comments
Closed

How to enable container registry ? #19366

znoxx opened this issue Apr 10, 2022 · 3 comments
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@znoxx
Copy link

znoxx commented Apr 10, 2022

Description

I'm trying to use package registry functionality, described here: https://docs.gitea.io/en-us/packages/overview/
Instance is running via docker image gitea/gitea:1.16.5 and docker-compose described in configuration.

I've enabled packages in app.ini:

[packages]
ENABLED = true

Then restarted docker container.
After this I'm trying to login to registry like described here:
https://docs.gitea.io/en-us/packages/container/

docker login localhost:3000

And getting 404 error:

Error response from daemon: login attempt to http://localhost:3000/v2/ failed with status: 404 Not Found

What I'm doing wrong ? How to enable package functionality (at least docker images) ?

Gitea Version

1.16.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Linux

How are you running Gitea?

Via docker-compose like described in documentation with ports

  • 3000 (web)
  • 2222 (ssh)

published

Database

SQLite

@znoxx znoxx added the type/bug label Apr 10, 2022
@luwol03
Copy link

luwol03 commented Apr 10, 2022

The package feature is not available in v1.16. The docs at https://docs.gitea.io are currently out of sync. You need to wait for v1.17 or use the dev (main branch) version (not recommended in production).

@techknowlogick techknowlogick added type/question Issue needs no code to be fixed, only a description on how to fix it yourself. and removed type/bug labels Apr 10, 2022
@lafriks lafriks closed this as completed Apr 10, 2022
@W-A-S-A-Y
Copy link

I've tried using it with gitea 1.17 and it doesn't resolve the issue. which is something I need help with. kindly correct me or explain what could possibly be going wrong?

What I've done is used the app.ini file and added the
[package]
ENABLED = true.

if this is not the way kindly let me know

@delvh
Copy link
Member

delvh commented Aug 13, 2022

@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.
Projects
None yet
Development

No branches or pull requests

6 participants