Create docker package like github

hi , i want to push self private docker image in my gitea server . Is this possible?

Hi!

Gitea has packages feature (Package Registry | Gitea Documentation), which includes container image repository (Container Registry | Gitea Documentation).

What you have to do, is login via docker login to your Gitea instance. You should be able to do that with your username and password, or username and token. You can generate a token by going to <YOUR_GITEA_INSTANCE>/user/settings/applications. If you want to use a token, make sure to select package read and write permission.

After that run (replace <YOUR_GITEA_INSTANCE> with your instance FQDN):

docker login <YOUR_GITEA_INSTANCE>

You’ll be prompted for the username and password/token.

After that’s done, you should be able to push your image, by tagging it correctly, i.e:

docker build -t <YOUR_GITEA_INSTANCE>/<USERNAME>/<IMAGE_NAME>:<IMAGE_TAG> .
docker push <YOUR_GITEA_INSTANCE>/<USERNAME>/<IMAGE_NAME>:<IMAGE_TAG>

Let me know if you have any further questions