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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Is it possible to install a docker image direct from docker hub?

    Support
    docker
    6
    12
    704
    Loading More Posts
    • 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.
    • E
      eddowding last edited by girish

      ..rather than download > build > push?

      eg https://hub.docker.com/r/ctadeu/calendso and not https://github.com/calendso/docker

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @eddowding last edited by

        @eddowding running upstream docker images usually does not work, since Cloudron will put various bits of the filesystem into read-only mode for security and consistency reasons. So to have a reliable app instance, you would have to adjust the upstream Dockerfile and make sure all data ends up in either /app/data and/or the addon database Cloudron provides. Otherwise the backups and restore features will not work.

        timconsidine 1 Reply Last reply Reply Quote 1
        • timconsidine
          timconsidine App Dev @nebulon last edited by

          @nebulon ... but presumably pulling a built-for-cloudron app direct from docker hub would work to avoid the build / push steps ?

          e.g. if I do a custom build for myself, but make my repo on docker hub available to others

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @timconsidine last edited by

            @timconsidine said in Is it possible to install a docker image direct from docker hub?:

            @nebulon ... but presumably pulling a built-for-cloudron app direct from docker hub would work to avoid the build / push steps ?

            yes, that definitely works. all the appstore app images are stored in docker hub as well.

            1 Reply Last reply Reply Quote 0
            • E
              eddowding last edited by

              Interesting. So with that in mind, is there / could there be a 'community' list of images somewhere?

              timconsidine 1 Reply Last reply Reply Quote 2
              • timconsidine
                timconsidine App Dev @eddowding last edited by

                @eddowding By chance I discovered some custom apps I built were listed as public. Wasn't my intention but no problem. So I will find 2 or 3 ones I have done and share their links later. Just in case it saves someone some time or stress.

                timconsidine 1 Reply Last reply Reply Quote 1
                • timconsidine
                  timconsidine App Dev @timconsidine last edited by timconsidine

                  Not sure this the right place to post this, but it's kinda on topic, and don't know where else (tell me where or feel free to move it).
                  These are a couple of custom packages I built.
                  I take zero credit for them : they are the work of other talented people. I just built them.

                  Any dates in the 'tags' are the date I built them, not the the date of the underlying package. They may not be latest available

                  My understanding is they can be installed in your cloudron instance - without building / pushing first - by :
                  cloudron install --image <repo-name>:<tag-name>

                  PaperlessNG (@doodlemania2 ) : tcmbp132021/paperless-ng:derek210709

                  HomeAssistant (@atridad) : tcmbp132021/home-assistant:20210714

                  Mailpiler (@vladimir-d) : tcmbp132021/mailpiler:20210715
                  (haven't got this configured yet, but it installs)

                  Directus9 (@atridad ) : tcmbp132021/directus9

                  E 1 Reply Last reply Reply Quote 1
                  • E
                    eddowding @timconsidine last edited by

                    Thanks, TIm!

                    When I try this I get:

                    $ cloudron install --image tcmbp132021/paperless-ng:derek210709
                    > No CloudronManifest.json found
                    
                    timconsidine mehdi 2 Replies Last reply Reply Quote 0
                    • timconsidine
                      timconsidine App Dev @eddowding last edited by

                      @eddowding errrr ...
                      I'll have to look into it, apologies

                      1 Reply Last reply Reply Quote 0
                      • mehdi
                        mehdi App Dev @eddowding last edited by

                        @eddowding I think you have to pull the git repo and do it from there. There has to be a CloudronManifest.json in the local directory when you do this.

                        E 1 Reply Last reply Reply Quote 1
                        • E
                          eddowding @mehdi last edited by

                          Thank you all.

                          I guess.. I think this is "all a bit complicated" to learn in the time available. I may revisit later, but for now I think some feedback / an output is that it would be useful to:

                          • be able to install just by giving a github repository
                          • provide a simple / guided Manifest creator form (with some best-guess defaults)

                          I appreciate that these things are easier said than done, and may for all I know be entirely impossible / wrong thing to ask for.

                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @eddowding last edited by A Former User

                            @eddowding Plug: https://git.atridad.dev/CTPR

                            Instructions: https://git.atridad.dev/CTPR/docs/ctpr-documentation

                            1 Reply Last reply Reply Quote 3
                            • First post
                              Last post
                            Powered by NodeBB