Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Docker registry

    App Wishlist
    wip
    8
    45
    472
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mario
      mario last edited by girish

      https://github.com/docker/distribution-library-image

      This would enable us to tie it in with Gitlab.

      Lonk mario 2 Replies Last reply Reply Quote 4
      • Lonk
        Lonk @mario last edited by

        @mario To keep and maintain our own private Docker hubs?

        1 Reply Last reply Reply Quote 0
        • robi
          robi last edited by

          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
          1 Reply Last reply Reply Quote 4
          • mario
            mario @mario last edited by

            I got the registry working, need to get it integrated with GitLab now.

            girish Lonk 2 Replies Last reply Reply Quote 3
            • girish
              girish Staff @mario last edited by

              @mario Did you get the registry working as a Cloudron package or outside Cloudron?

              mario 1 Reply Last reply Reply Quote 0
              • Lonk
                Lonk @mario last edited by

                @mario What he said ^^^ 😂

                1 Reply Last reply Reply Quote 0
                • robi
                  robi last edited by

                  anyone check his gitlab repo?

                  Lonk 1 Reply Last reply Reply Quote 0
                  • Lonk
                    Lonk @robi last edited by

                    @robi I don't know it. 😅

                    1 Reply Last reply Reply Quote 0
                    • mario
                      mario @girish last edited by mario

                      @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.

                      mario 1 Reply Last reply Reply Quote 2
                      • mario
                        mario @mario last edited by

                        @girish
                        https://git.cloudron.io/mario/docker-registry

                        mario girish 2 Replies Last reply Reply Quote 2
                        • mario
                          mario @mario last edited by

                          default user:

                          admin/admin

                          mehdi 1 Reply Last reply Reply Quote 0
                          • mehdi
                            mehdi App Dev @mario last edited by

                            @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 😄

                            mario girish 2 Replies Last reply Reply Quote 1
                            • mario
                              mario @mehdi last edited by

                              @mehdi I'm updating it further now with redis support etc.

                              mario 1 Reply Last reply Reply Quote 0
                              • mario
                                mario @mario last edited by

                                Updated and working.

                                fbartels 1 Reply Last reply Reply Quote 3
                                • robi
                                  robi last edited by

                                  Amazing progress, thank you @mario

                                  Now to figure out how to install this and inch another step in packaging a custom app..

                                  1 Reply Last reply Reply Quote 0
                                  • fbartels
                                    fbartels App Dev @mario last edited by fbartels

                                    @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.

                                    mario 1 Reply Last reply Reply Quote 1
                                    • mario
                                      mario @fbartels last edited by mario

                                      @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.

                                      fbartels 1 Reply Last reply Reply Quote 0
                                      • girish
                                        girish Staff @mario last edited by

                                        @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 1 Reply Last reply Reply Quote 1
                                        • fbartels
                                          fbartels App Dev @mario last edited by

                                          @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.

                                          mario 1 Reply Last reply Reply Quote 0
                                          • mario
                                            mario @girish last edited by

                                            @girish happy Thanksgiving! 🙂

                                            Thanks for the fork, will see what I can do in the coming days 😉

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post