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. Announcements
  3. Container registry

Container registry

Scheduled Pinned Locked Moved Announcements
9 Posts 4 Posters 180 Views 4 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.
  • girishG
    girishG
    girish
    Staff
    wrote last edited by girish
    #1

    tl;dr cloudron build is dead. Long live cloudron builder.

    With Cloudron 10, we have implemented a new Container Registry app. This merges the previous Docker build service and Docker registry app into a single app and brings it in line with all the modern registries.

    Features of this registry:

    • Docker/OCI registry (docker push / docker pull)
    • Cloudron login (OIDC) for the UI
    • App passwords for Docker CLI auth
    • Anonymous pull for public repos
    • Private repos (login required for pull and push)
    • Create repos from the UI (alpine or team/my-app)
    • Repo descriptions
    • Browsable catalog: tags, digests, sizes, platforms
    • Multi-arch images
    • Tag detail: pull command, layers, Dockerfile history, raw manifest
    • Search across repos, tags, and builds
    • Pull counts and last pushed/pulled times
    • Immutable tags (cannot be overwritten)
    • Remote builds via cloudron builder login / cloudron builder build
    • Builds run in-app with BuildKit (not the host Docker daemon)
    • Live build logs in the UI, with cancel
    • GitHub/GitLab webhooks to build on push
    • Access token or deploy key for private git repos
    • Branch/tag → image tag mapping (latest, branch name, git tags)
    • Tag expiry (keep last N tags per repo)
    • Immutable repos skipped by expiry
    • Builder concurrency and build-cache cleanup

    There is an important change to cloudron install as well. Previously cloudron install could mean local Docker, a server build, or a builder image. Local Docker is gone from the CLI and you can use the docker CLI yourself to build and tag as you want. Bare cloudron install always builds on the server. To install an image from Container Registry, pass --image <image> or --last-image after cloudron builder build.

    More details at https://blog.cloudron.io/container-registry/

    1 Reply Last reply
    6
    • girishG
      girishG
      girish
      Staff
      wrote last edited by girish
      #2

      Some screenshots:

      image.jpeg

      image.jpeg

      image.jpeg

      1 Reply Last reply
      6
      • robiR
        robiR
        robi
        wrote last edited by
        #3

        What about hosting artifacts like CloudronVersions files?

        Conscious tech

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

          @robi seems like a good next step. I guess some cloudron versions upload to go with it to automatically upload the versions file 🤔 I guess the community authors would have to chime in, if they see this as needed/useful.

          1 Reply Last reply
          0
          • E
            E
            ekevu123
            wrote last edited by
            #5

            I have tested the new registry and it works excellently for me. I am quite happy, and have already replaced my older workflows with the builder and the private docker registry as separate apps.

            girishG 1 Reply Last reply
            4
            • timconsidineT
              timconsidineT
              timconsidine
              App Dev
              wrote last edited by
              #6

              Sounds good improvment.
              I might be being bit thick, but how does the new registry with build functionality align with the traditional advice "do not build on your primary Cloudron instance" ?
              Is the traditional advice now revoked ?

              Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

              girishG 1 Reply Last reply
              1
              • E ekevu123

                I have tested the new registry and it works excellently for me. I am quite happy, and have already replaced my older workflows with the builder and the private docker registry as separate apps.

                girishG
                girishG
                girish
                Staff
                wrote last edited by
                #7

                @ekevu123 thanks for testing! let us know if you miss a feature, currently the feature set is very much around what we wanted for our own packages. But all of Cloudron packages are now built and hosted on this new registry. I think we will switch the fallback from quay to our selfhosted registry at some point.

                1 Reply Last reply
                1
                • timconsidineT timconsidine

                  Sounds good improvment.
                  I might be being bit thick, but how does the new registry with build functionality align with the traditional advice "do not build on your primary Cloudron instance" ?
                  Is the traditional advice now revoked ?

                  girishG
                  girishG
                  girish
                  Staff
                  wrote last edited by
                  #8

                  @timconsidine I should have probably highlighted that aspect since it's hidden in the "Builds run in-app with BuildKit (not the host Docker daemon)" line. Previous registry used to build using the host docker (the host docker socket was exposed to the app). If you build some mega app, it will bring down the server.

                  With this new registry, the builds are sandboxed to the app - so the app's cpu and memory limits apply. The host docker storage is not polluted.

                  timconsidineT 1 Reply Last reply
                  2
                  • girishG girish

                    @timconsidine I should have probably highlighted that aspect since it's hidden in the "Builds run in-app with BuildKit (not the host Docker daemon)" line. Previous registry used to build using the host docker (the host docker socket was exposed to the app). If you build some mega app, it will bring down the server.

                    With this new registry, the builds are sandboxed to the app - so the app's cpu and memory limits apply. The host docker storage is not polluted.

                    timconsidineT
                    timconsidineT
                    timconsidine
                    App Dev
                    wrote last edited by
                    #9

                    @girish thanks for the explanation.

                    Currently I do dev work on my Mac laptop, use docker build --context build-server ... to run builds and registry pushes on a small VPS, avoids impact on my laptop and on my Cloudron box.

                    I will get brave and try out container registry sometime 😆

                    Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                    1 Reply Last reply
                    1
                    • girishG girish referenced this topic

                    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