Docker registry
-
https://github.com/docker/distribution-library-image
This would enable us to tie it in with Gitlab.
-
@mario To keep and maintain our own private Docker hubs?
-
Adding Quay
https://github.com/quay/quay
Project Quay builds, stores, and distributes your container images.High-level features include:
- Docker Registry Protocol v2
- Docker Manifest Schema v2.1, v2.2
- AppC Image Discovery via on-demand transcoding
- Image Squashing via on-demand transcoding
- Authentication provided by LDAP, Keystone, OIDC, Google, and GitHub
- ACLs, team management, and auditability logs
- Geo-replicated storage provided by local filesystems, S3, GCS, Swift, and Ceph
- Continuous Integration integrated with GitHub, Bitbucket, GitLab, and git
- Security Vulnerability Analysis via Clair
- Swagger-compliant HTTP API
-
I got the registry working, need to get it integrated with GitLab now.
-
@mario Did you get the registry working as a Cloudron package or outside Cloudron?
-
@mario What he said ^^^
-
anyone check his gitlab repo?
-
@robi I don't know it.
-
@girish as a Cloudron package. I'll push it to gitlab once I clean it up, but it's useless to me without the GitLab integration and that part seems tricky.
-
-
default user:
admin/admin
-
@mario This looks good ! Combined with the authProxy of Cloudron6, we could disable the htpasswd auth of the app and since it uses basic auth it should work with the LDAP users !
We would just have to slap a basic web interface on that and it would be perfect
-
@mehdi I'm updating it further now with redis support etc.
-
Updated and working.
-
Amazing progress, thank you @mario
Now to figure out how to install this and inch another step in packaging a custom app..
-
@mario would you mind me making an attempt of adding https://github.com/Joxit/docker-registry-ui/ to your app? Or would you rather do it yourself, or choose a different ui?
Another solution could be the reg cli utility. A simple docker binary that can also expose a ui.
@robi after you installed to Cloudron cli (should be on a Linux machine with docker installed) you just need to run
cloudron build && cloudron install
and then follow the prompts. -
@fbartels honestly, I'd prefer UI as a separate app and would attempt Portus - possibly together with you. What are your thoughts?
An alternative would indeed be, if people prefer, to have Registry + UI together -> but in any case I'd strongly prefer Portus to anything else.
-
@mario Oh wow, this is awesome. I had no idea one could run a registry this way. I thought one has to make some use of the docker addon! This way is so much simpler and nicer.
I forked the code to https://git.cloudron.io/cloudron/docker-registry-app/ and gave you permissions. It just worked (tm). Do you think you can put in a LICENSE file and keep developing there? It's a holiday for thanksgiving here, but I will look into this soonish.
-
@mario TIL portus does not implement it's own registry, but simply uses the official one.
Yes, having them separate can have it's benefits. Would need to refresh my knowledge in regards to portus first before I know if I could be of much help.
-
@girish happy Thanksgiving!
Thanks for the fork, will see what I can do in the coming days