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 to allow push for authenticated user, but pull for anonymous/everybody?

How to allow push for authenticated user, but pull for anonymous/everybody?

Scheduled Pinned Locked Moved Docker Registry
4 Posts 3 Posters 612 Views 3 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.
  • KubernetesK Offline
    KubernetesK Offline
    Kubernetes
    App Dev
    wrote on last edited by Kubernetes
    #1

    Hi there,

    How to allow push for authenticated user, but pull for anonymous/everybody?

    I would like to have a public available image pull repository of Docker Images.
    Pushing new Docker images or updating Docker images should only possible for authenticated users.

    Does somebody know how to achieve this?

    Thanks!

    Mike

    PS: This is first part of implementing the idea in this post

    1 Reply Last reply
    0
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by fbartels
      #2

      I don't think this is easily doable with the default registry app on Cloudron. But it can still be achieved with other apps available on Cloudron.

      I would use the Gitea app as a base. You can tie this app to the Cloudron auth and allow container uploads for a certain user. Within the repo of choice you can then do a public pull. The added benefit is that you can use Gitea actions to build apps in the first place.

      KubernetesK 1 Reply Last reply
      2
      • fbartelsF fbartels

        I don't think this is easily doable with the default registry app on Cloudron. But it can still be achieved with other apps available on Cloudron.

        I would use the Gitea app as a base. You can tie this app to the Cloudron auth and allow container uploads for a certain user. Within the repo of choice you can then do a public pull. The added benefit is that you can use Gitea actions to build apps in the first place.

        KubernetesK Offline
        KubernetesK Offline
        Kubernetes
        App Dev
        wrote on last edited by
        #3

        @fbartels That sounds like a very good suggestion. Thank you, I will give it a try

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          yeah, as @fbartels said, the app is hosted behind a proxy auth. The whole thing is either protected or not. It's not possible to have public pulls with private pushes.

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