I want to run a Docker image
-
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.
-
@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!
-
@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.
-
@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.
-
@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.
-
@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.
-
@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?
-
@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).
-
@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.
-
Awesome, thanks guys.
-
@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?
-
@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/ )
-
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.