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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Docker registry

Docker registry

Scheduled Pinned Locked Moved Solved App Wishlist
65 Posts 9 Posters 71.4k Views 12 Watching
  • 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.
  • marioM mario

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

    LonkleL
    LonkleL
    Lonkle
    wrote on last edited by
    #6

    @mario What he said ^^^ ๐Ÿ˜‚

    1 Reply Last reply
    0
    • robiR
      robiR
      robi
      wrote on last edited by
      #7

      anyone check his gitlab repo?

      Conscious tech

      LonkleL 1 Reply Last reply
      0
      • robiR robi

        anyone check his gitlab repo?

        LonkleL
        LonkleL
        Lonkle
        wrote on last edited by
        #8

        @robi I don't know it. ๐Ÿ˜…

        1 Reply Last reply
        0
        • girishG girish

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

          marioM
          marioM
          mario
          App Dev
          wrote on last edited by mario
          #9

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

          marioM 1 Reply Last reply
          2
          • marioM 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.

            marioM
            marioM
            mario
            App Dev
            wrote on last edited by
            #10

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

            marioM girishG 2 Replies Last reply
            3
            • marioM mario

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

              marioM
              marioM
              mario
              App Dev
              wrote on last edited by
              #11

              default user:

              admin/admin

              mehdiM 1 Reply Last reply
              0
              • marioM mario

                default user:

                admin/admin

                mehdiM
                mehdiM
                mehdi
                App Dev
                wrote on last edited by
                #12

                @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 ๐Ÿ˜„

                marioM girishG 2 Replies Last reply
                1
                • mehdiM mehdi

                  @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 ๐Ÿ˜„

                  marioM
                  marioM
                  mario
                  App Dev
                  wrote on last edited by
                  #13

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

                  marioM 1 Reply Last reply
                  1
                  • marioM mario

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

                    marioM
                    marioM
                    mario
                    App Dev
                    wrote on last edited by
                    #14

                    Updated and working.

                    fbartelsF 1 Reply Last reply
                    3
                    • robiR
                      robiR
                      robi
                      wrote on last edited by
                      #15

                      Amazing progress, thank you @mario

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

                      Conscious tech

                      1 Reply Last reply
                      0
                      • marioM mario

                        Updated and working.

                        fbartelsF
                        fbartelsF
                        fbartels
                        App Dev
                        wrote on last edited by fbartels
                        #16

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

                        marioM 1 Reply Last reply
                        2
                        • fbartelsF 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.

                          marioM
                          marioM
                          mario
                          App Dev
                          wrote on last edited by mario
                          #17

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

                          fbartelsF 1 Reply Last reply
                          1
                          • marioM mario

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

                            girishG
                            girishG
                            girish
                            Staff
                            wrote on last edited by
                            #18

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

                            marioM 1 Reply Last reply
                            2
                            • marioM 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.

                              fbartelsF
                              fbartelsF
                              fbartels
                              App Dev
                              wrote on last edited by
                              #19

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

                              marioM 1 Reply Last reply
                              0
                              • girishG girish

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

                                marioM
                                marioM
                                mario
                                App Dev
                                wrote on last edited by
                                #20

                                @girish happy Thanksgiving! ๐Ÿ™‚

                                Thanks for the fork, will see what I can do in the coming days ๐Ÿ˜‰

                                1 Reply Last reply
                                0
                                • mehdiM mehdi

                                  @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 ๐Ÿ˜„

                                  girishG
                                  girishG
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #21

                                  @mehdi said in Docker registry:

                                  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 !

                                  I gave this a try and this worked great! https://git.cloudron.io/cloudron/docker-registry-app/-/commit/547e3b30b0d9038d9fe73416a7df7b3d32f265ec

                                  marioM 1 Reply Last reply
                                  2
                                  • fbartelsF fbartels

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

                                    marioM
                                    marioM
                                    mario
                                    App Dev
                                    wrote on last edited by
                                    #22

                                    @fbartels said in Docker registry:

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

                                    Indeed ๐Ÿ™‚ It basically takes advantage of the official registry support for token-auth, giving you a nice UI, permissions, etc.

                                    When you get a moment to check it out, let's talk! ๐Ÿ™‚

                                    1 Reply Last reply
                                    1
                                    • girishG girish

                                      @mehdi said in Docker registry:

                                      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 !

                                      I gave this a try and this worked great! https://git.cloudron.io/cloudron/docker-registry-app/-/commit/547e3b30b0d9038d9fe73416a7df7b3d32f265ec

                                      marioM
                                      marioM
                                      mario
                                      App Dev
                                      wrote on last edited by mario
                                      #23

                                      @girish said in Docker registry:

                                      @mehdi said in Docker registry:

                                      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 !

                                      I gave this a try and this worked great! https://git.cloudron.io/cloudron/docker-registry-app/-/commit/547e3b30b0d9038d9fe73416a7df7b3d32f265ec

                                      The only problem here is that this would not work for me - we basically only have admins on Cloudron itself, and this would limit Registry access to them alone.

                                      Edit: this is because we do auth via Azure AD/SAML for pretty much everything in the company.

                                      girishG 1 Reply Last reply
                                      0
                                      • marioM mario

                                        @girish said in Docker registry:

                                        @mehdi said in Docker registry:

                                        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 !

                                        I gave this a try and this worked great! https://git.cloudron.io/cloudron/docker-registry-app/-/commit/547e3b30b0d9038d9fe73416a7df7b3d32f265ec

                                        The only problem here is that this would not work for me - we basically only have admins on Cloudron itself, and this would limit Registry access to them alone.

                                        Edit: this is because we do auth via Azure AD/SAML for pretty much everything in the company.

                                        girishG
                                        girishG
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #24

                                        @mario said in Docker registry:

                                        The only problem here is that this would not work for me

                                        Good point. I forgot to add the optionalSso flag to manifest. With that flag, you can install the app without Cloudron Directory integration (like you do with other apps) and then we can have the default admin/admin setup that you have when LDAP is disabled. Would that work?

                                        marioM 1 Reply Last reply
                                        1
                                        • girishG girish

                                          @mario said in Docker registry:

                                          The only problem here is that this would not work for me

                                          Good point. I forgot to add the optionalSso flag to manifest. With that flag, you can install the app without Cloudron Directory integration (like you do with other apps) and then we can have the default admin/admin setup that you have when LDAP is disabled. Would that work?

                                          marioM
                                          marioM
                                          mario
                                          App Dev
                                          wrote on last edited by
                                          #25

                                          @girish yes, though there's a bug in your commit ๐Ÿ˜› So let's make sure we fix that too.

                                          girishG 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better ๐Ÿ’—

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search