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. Discuss
  3. I want to run a Docker image

I want to run a Docker image

Scheduled Pinned Locked Moved Discuss
dockercustom-appsregistry
14 Posts 6 Posters 4.0k Views 6 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.
    • christiaanC Offline
      christiaanC Offline
      christiaan
      wrote on last edited by girish
      #1

      I want to run a particular Docker image which is a little file/teamwork server for the CAD/BIM software my company uses. Sounds possible on Cloudron but not recommended.

      Would I be better off setting up a separate Droplet on DigitalOcean? Because I used their OneClick Docker Droplet installer but it installs the Docker CLI, which is where my capabilities start to falter.

      P.S. I'm new, as of yesterday, to self-hosted cloud computing, DigitalOcean and Cloudron.

      W 1 Reply Last reply
      0
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #2

        While Cloudron also uses Docker in the backend, running Docker images plain is not supported.
        Cloudron requires additional meta data as well as further image hardening to reliably work.

        We have some documentation on how to package apps for Cloudron at https://cloudron.io/documentation/custom-apps/tutorial/

        I guess it would be nice to have some guide how to convert plain Docker projects to Cloudron as much as possible in the future, but we don't have that yet.

        christiaanC 2 Replies Last reply
        4
        • christiaanC christiaan

          I want to run a particular Docker image which is a little file/teamwork server for the CAD/BIM software my company uses. Sounds possible on Cloudron but not recommended.

          Would I be better off setting up a separate Droplet on DigitalOcean? Because I used their OneClick Docker Droplet installer but it installs the Docker CLI, which is where my capabilities start to falter.

          P.S. I'm new, as of yesterday, to self-hosted cloud computing, DigitalOcean and Cloudron.

          W Offline
          W Offline
          will
          wrote on last edited by
          #3

          @christiaan For managing docker stuff outside of Cloudron, checkout Portainer and Docker-Compose. Those two things will make life a lot easier. DO would be my recommend, its what I did.
          I just did some Cloud training with google, and wow, their GCP stuff is pretty awesome. May be worth a look (probably more expensive than DO)

          Good luck!

          christiaanC 1 Reply Last reply
          1
          • nebulonN nebulon

            While Cloudron also uses Docker in the backend, running Docker images plain is not supported.
            Cloudron requires additional meta data as well as further image hardening to reliably work.

            We have some documentation on how to package apps for Cloudron at https://cloudron.io/documentation/custom-apps/tutorial/

            I guess it would be nice to have some guide how to convert plain Docker projects to Cloudron as much as possible in the future, but we don't have that yet.

            christiaanC Offline
            christiaanC Offline
            christiaan
            wrote on last edited by
            #4

            @nebulon said in I want to run a Docker image:

            Cloudron requires additional meta data as well as further image hardening to reliably work.

            Okay thank you, I'll avoid this route then because reliability is a must.

            1 Reply Last reply
            0
            • W will

              @christiaan For managing docker stuff outside of Cloudron, checkout Portainer and Docker-Compose. Those two things will make life a lot easier. DO would be my recommend, its what I did.
              I just did some Cloud training with google, and wow, their GCP stuff is pretty awesome. May be worth a look (probably more expensive than DO)

              Good luck!

              christiaanC Offline
              christiaanC Offline
              christiaan
              wrote on last edited by
              #5

              @will said in I want to run a Docker image:

              @christiaan For managing docker stuff outside of Cloudron, checkout Portainer and Docker-Compose. Those two things will make life a lot easier. DO would be my recommend, its what I did.
              I just did some Cloud training with google, and wow, their GCP stuff is pretty awesome. May be worth a look (probably more expensive than DO)

              Good luck!

              Okay great, thanks for the recommendations on both counts. Part of the reason I recently discovered the relevance of self-hosted cloud computing was because I was trying to figure out how to avoid using G Suite (mainly because of a reflexive dislike of some of Google's practices) but I really should give their cloud computing platform more consideration because there's no doubt their technology is great.

              They also have a $300 free credit offer lasting for 12 months which helps.

              1 Reply Last reply
              1
              • nebulonN nebulon

                While Cloudron also uses Docker in the backend, running Docker images plain is not supported.
                Cloudron requires additional meta data as well as further image hardening to reliably work.

                We have some documentation on how to package apps for Cloudron at https://cloudron.io/documentation/custom-apps/tutorial/

                I guess it would be nice to have some guide how to convert plain Docker projects to Cloudron as much as possible in the future, but we don't have that yet.

                christiaanC Offline
                christiaanC Offline
                christiaan
                wrote on last edited by
                #6

                @nebulon said in I want to run a Docker image:

                I guess it would be nice to have some guide how to convert plain Docker projects to Cloudron as much as possible in the future, but we don't have that yet.

                This would be great.

                I've decided to give it a go on the basis that I'm still running a testing environment and the docker image is very lightweight.

                W 1 Reply Last reply
                0
                • christiaanC christiaan

                  @nebulon said in I want to run a Docker image:

                  I guess it would be nice to have some guide how to convert plain Docker projects to Cloudron as much as possible in the future, but we don't have that yet.

                  This would be great.

                  I've decided to give it a go on the basis that I'm still running a testing environment and the docker image is very lightweight.

                  W Offline
                  W Offline
                  will
                  wrote on last edited by
                  #7

                  @christiaan Best bet would be to spin up your docker image locally for testing (docker desktop), then push it to a small digital ocean droplet for "production". Mixing Cloudon docker, and your own docker instances sounds like trouble if you're not docker kung fu master.

                  christiaanC 1 Reply Last reply
                  1
                  • W will

                    @christiaan Best bet would be to spin up your docker image locally for testing (docker desktop), then push it to a small digital ocean droplet for "production". Mixing Cloudon docker, and your own docker instances sounds like trouble if you're not docker kung fu master.

                    christiaanC Offline
                    christiaanC Offline
                    christiaan
                    wrote on last edited by
                    #8

                    @will thanks will, I do have it running on a separate instance on DO, with the help of Portainer, but I haven't figured out yet how to get Portainer to use https. Plus I worry about being skilled enough to maintain it in production.

                    I wonder what the possibilities are of eventually getting it listed on Cloudron? It could potentially bring in some customers for Cloudron I guess.

                    It's a very lightweight file server developed by my CAD software developer, currently in testing for release later in the year. They've released a Docker image primarily to be used on NAS devices, but they're supportive of the way I'm implementing it too.

                    @nebulon if I can get this CAD developer to create and maintain a Cloudron-optimised Docker image on docker.io what are the chances of then getting it officially hosted on Cloudron?

                    W 1 Reply Last reply
                    1
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by girish
                      #9

                      @christiaan If it's a maintained project, it's not a problem to get it listed on cloudron.io. For example, recently @mehdi packaged orthanc which is used in medical imaging. While this is definitely not Cloudron's target market, we like the idea of having it on cloudron.io (it's not listed yet, but we will).

                      christiaanC 1 Reply Last reply
                      3
                      • christiaanC christiaan

                        @will thanks will, I do have it running on a separate instance on DO, with the help of Portainer, but I haven't figured out yet how to get Portainer to use https. Plus I worry about being skilled enough to maintain it in production.

                        I wonder what the possibilities are of eventually getting it listed on Cloudron? It could potentially bring in some customers for Cloudron I guess.

                        It's a very lightweight file server developed by my CAD software developer, currently in testing for release later in the year. They've released a Docker image primarily to be used on NAS devices, but they're supportive of the way I'm implementing it too.

                        @nebulon if I can get this CAD developer to create and maintain a Cloudron-optimised Docker image on docker.io what are the chances of then getting it officially hosted on Cloudron?

                        W Offline
                        W Offline
                        will
                        wrote on last edited by
                        #10

                        @christiaan If you need help, PM me. I went through a lot of pain trying to "recreate" Cloudron on my own with just docker because they didn't have Bitwarden. I eventually gave up and they added Bitwarden. But I have a LOT of scripts and helpful tidbits from the journey. I'd be glad to collab with you to get stuff working.

                        1 Reply Last reply
                        2
                        • christiaanC Offline
                          christiaanC Offline
                          christiaan
                          wrote on last edited by
                          #11

                          Awesome, thanks guys.

                          1 Reply Last reply
                          1
                          • girishG girish

                            @christiaan If it's a maintained project, it's not a problem to get it listed on cloudron.io. For example, recently @mehdi packaged orthanc which is used in medical imaging. While this is definitely not Cloudron's target market, we like the idea of having it on cloudron.io (it's not listed yet, but we will).

                            christiaanC Offline
                            christiaanC Offline
                            christiaan
                            wrote on last edited by
                            #12

                            @girish said in I want to run a Docker image:

                            @christiaan If it's a maintained project, it's not a problem to get it listed on cloudron.io. For example, recently @mehdi packaged orthanc which is used in medical imaging. While this is definitely not Cloudron's target market, we like the idea of having it on cloudron.io (it's not listed yet, but we will).

                            There are a bunch of hoops they have to jump through to host closed source content. They'd have to sign up as a publisher, get their content moderated, specify licensing details, etc. Does it have to be hosted on Docker.io for you guys to host it on Cloudron or could it be host it on their own repository?

                            mehdiM 1 Reply Last reply
                            0
                            • christiaanC christiaan

                              @girish said in I want to run a Docker image:

                              @christiaan If it's a maintained project, it's not a problem to get it listed on cloudron.io. For example, recently @mehdi packaged orthanc which is used in medical imaging. While this is definitely not Cloudron's target market, we like the idea of having it on cloudron.io (it's not listed yet, but we will).

                              There are a bunch of hoops they have to jump through to host closed source content. They'd have to sign up as a publisher, get their content moderated, specify licensing details, etc. Does it have to be hosted on Docker.io for you guys to host it on Cloudron or could it be host it on their own repository?

                              mehdiM Offline
                              mehdiM Offline
                              mehdi
                              App Dev
                              wrote on last edited by
                              #13

                              @christiaan There is absolutely no need to be on the official docker.io paid apps thing. It has to be a specific docker image for cloudron (see https://cloudron.io/documentation/custom-apps/tutorial/ )

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

                                Not to mention that if your software is closed source you do not need to publish it for all cloudron users if only you want to use it. With a bit of technical knowledge you can build apps yourself (see the link from @mehdi), push it to a private registry and then use the cloudron cli to install it yo your instance.

                                I am actually hosting a few apps on my Cloudron that I am just building locally (Bitwarden for example before it was available as an official app).

                                If you don't make your app official you are of course on the hook for maintaining it, but you still benefit from the user management of Cloudron, automatic ssl and backups/easy restore.

                                https://simply-how.com/free-docker-container-registry lists a few hosted docker registries that offer free private repositories if you don't want to host your own.

                                Edit: as long as you only need one container you could even use the Docker Hub, as it offers one private image as well.

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