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. App Packaging & Development
  3. cloudron install w/o registry

cloudron install w/o registry

Scheduled Pinned Locked Moved App Packaging & Development
7 Posts 3 Posters 1.2k 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.
    • timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by timconsidine
      #1

      Generally the recommended way from docs is

      • docker build etc
      • docker push etc
      • cloudron install etc

      Of course I try to be a good boy and follow this.
      But to save a step and lots of time during dev, is it possible to do something like cloudron install --image ./reponame:tag ?
      So it installs from built image on local device ?

      girishG 1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #2

        this is a lot more complicated to implement well since backups and restores rely on access to the container from a repo to run. Doing this would mean the backup/restore process would need to be disabled or the source would need to be editable.

        timconsidineT 1 Reply Last reply
        1
        • ? A Former User

          this is a lot more complicated to implement well since backups and restores rely on access to the container from a repo to run. Doing this would mean the backup/restore process would need to be disabled or the source would need to be editable.

          timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote on last edited by
          #3

          @atridad thanks for the explanation - I will stick to the normal process !

          1 Reply Last reply
          0
          • timconsidineT timconsidine

            Generally the recommended way from docs is

            • docker build etc
            • docker push etc
            • cloudron install etc

            Of course I try to be a good boy and follow this.
            But to save a step and lots of time during dev, is it possible to do something like cloudron install --image ./reponame:tag ?
            So it installs from built image on local device ?

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

            @timconsidine said in cloudron install w/o registry:

            So it installs from built image on local device ?

            I was going to reply saying this was 'impossible' but I have since learnt this might actually be a good idea.

            Apparently, there are 2 new commands docker docker save and docker load that can pipe images - https://dockerlabs.collabnix.com/beginners/saving-images-as-tar/ . This does break cloudron backup/restore since images are not part of a backup but in development mode, I can see this being considerably faster than having to push and download from a hub/registry each time.

            Something to consider for a future release.

            timconsidineT ? 2 Replies Last reply
            1
            • girishG girish

              @timconsidine said in cloudron install w/o registry:

              So it installs from built image on local device ?

              I was going to reply saying this was 'impossible' but I have since learnt this might actually be a good idea.

              Apparently, there are 2 new commands docker docker save and docker load that can pipe images - https://dockerlabs.collabnix.com/beginners/saving-images-as-tar/ . This does break cloudron backup/restore since images are not part of a backup but in development mode, I can see this being considerably faster than having to push and download from a hub/registry each time.

              Something to consider for a future release.

              timconsidineT Offline
              timconsidineT Offline
              timconsidine
              App Dev
              wrote on last edited by
              #5

              @girish thanks
              yes, during development process was my 'use case'
              just saving time
              no big problem to continue as is for now
              maybe interesting benefit in future

              1 Reply Last reply
              0
              • girishG girish

                @timconsidine said in cloudron install w/o registry:

                So it installs from built image on local device ?

                I was going to reply saying this was 'impossible' but I have since learnt this might actually be a good idea.

                Apparently, there are 2 new commands docker docker save and docker load that can pipe images - https://dockerlabs.collabnix.com/beginners/saving-images-as-tar/ . This does break cloudron backup/restore since images are not part of a backup but in development mode, I can see this being considerably faster than having to push and download from a hub/registry each time.

                Something to consider for a future release.

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #6

                @girish perhaps it can allow restores but only via the cli? And then you can pass on your local backup or another image somewhere else. Being able to customize the image used for backups would be helpful. I ran into an issue with this earlier for someone else’s cloudron

                girishG 1 Reply Last reply
                0
                • ? A Former User

                  @girish perhaps it can allow restores but only via the cli? And then you can pass on your local backup or another image somewhere else. Being able to customize the image used for backups would be helpful. I ran into an issue with this earlier for someone else’s cloudron

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

                  @atridad right. I guess we need some sort of 'development mode' flag for such apps which will ask the user to provide an image name optionally during restore.

                  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