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
  • 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

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Docker Registry
  3. How can I interact with the Registry API using cloudron user managment?

How can I interact with the Registry API using cloudron user managment?

Scheduled Pinned Locked Moved Docker Registry
9 Posts 2 Posters 1.2k Views 2 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.
    • TomsFreitasT Offline
      TomsFreitasT Offline
      TomsFreitas
      wrote on last edited by
      #1

      Hello, i would like to interact with the registry API but I can't seem to find a way since I'm always redirected to the login page

      girishG 1 Reply Last reply
      0
      • TomsFreitasT TomsFreitas

        Hello, i would like to interact with the registry API but I can't seem to find a way since I'm always redirected to the login page

        girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #2

        @TomsFreitas have you seen https://docs.cloudron.io/apps/docker-registry/#cloudron-directory ? You use your cloudron credentials to login.

        1 Reply Last reply
        0
        • TomsFreitasT Offline
          TomsFreitasT Offline
          TomsFreitas
          wrote on last edited by
          #3

          Hello @girish, thank you for the answer.
          I can login using the credentials and use it via the GUI in the browser. I just can't seem to use the registry API like http://registry/v2/_catalog/ using something like postman because I can't find a way to authenticate with cloudron

          girishG 1 Reply Last reply
          0
          • TomsFreitasT TomsFreitas

            Hello @girish, thank you for the answer.
            I can login using the credentials and use it via the GUI in the browser. I just can't seem to use the registry API like http://registry/v2/_catalog/ using something like postman because I can't find a way to authenticate with cloudron

            girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #4

            @TomsFreitas Does docker login myregistry.domain.com work with cloudron credentials ?

            TomsFreitasT 1 Reply Last reply
            0
            • girishG girish

              @TomsFreitas Does docker login myregistry.domain.com work with cloudron credentials ?

              TomsFreitasT Offline
              TomsFreitasT Offline
              TomsFreitas
              wrote on last edited by
              #5

              @girish yes, everything else is working as expected. Just can't seem to find any documentation that helps me in this regard.

              girishG 1 Reply Last reply
              0
              • TomsFreitasT TomsFreitas

                @girish yes, everything else is working as expected. Just can't seem to find any documentation that helps me in this regard.

                girishG Do not disturb
                girishG Do not disturb
                girish
                Staff
                wrote on last edited by
                #6

                @TomsFreitas Can you set the user agent string in postman to something like Docker-Client/20.10.12-ce (ubuntu) ?

                TomsFreitasT 1 Reply Last reply
                0
                • girishG girish

                  @TomsFreitas Can you set the user agent string in postman to something like Docker-Client/20.10.12-ce (ubuntu) ?

                  TomsFreitasT Offline
                  TomsFreitasT Offline
                  TomsFreitas
                  wrote on last edited by
                  #7

                  @girish Thank you! By setting the user agent to Docker-Client/20.10.12-ce (ubuntu) and using Basic Auth with my cloudron account, I can now access the registry API!

                  girishG 1 Reply Last reply
                  0
                  • TomsFreitasT TomsFreitas

                    @girish Thank you! By setting the user agent to Docker-Client/20.10.12-ce (ubuntu) and using Basic Auth with my cloudron account, I can now access the registry API!

                    girishG Do not disturb
                    girishG Do not disturb
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @TomsFreitas Ah, good. The proxyauth code has some special logic by detecting the docker client (via user agent). This is the reason it is needed.

                    TomsFreitasT 1 Reply Last reply
                    0
                    • girishG girish

                      @TomsFreitas Ah, good. The proxyauth code has some special logic by detecting the docker client (via user agent). This is the reason it is needed.

                      TomsFreitasT Offline
                      TomsFreitasT Offline
                      TomsFreitas
                      wrote on last edited by
                      #9

                      @girish Thank you once again

                      1 Reply Last reply
                      0
                      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