Run CasaOS inside a container #217
Replies: 7 comments 9 replies
-
Theoretically, it should be possible. but we have no plans to make it a Docker container yet. However, CasaOS is still in its early stages, you can notice that we have "OS" in our name but it is still only installed as a system service in base OS. Because we have a lot of features in the development plan. But I would love to know why you would like CasaOS to be installed in a container and what features you would like to see in this form. |
Beta Was this translation helpful? Give feedback.
-
Could, theoretically, run the majority of the stack within a docker stack. Having it this way would enable running it alongside an existing docker cluster or installation without meddling with the host system - and designing the system to be container-based from the get-go may improve portability of the system (to different OS's or to a multi-host like kubernetes installation). Just, as a concept. I haven't dug into how CasaOS works fundamentally, yet. |
Beta Was this translation helpful? Give feedback.
-
It'd be nice to consider Docker-in-Docker (DIND) or K8s in Docker (KIND) mode such that all CasaOS' containers are wrapped inside a CasaOS container context. OR, consider containerd level containerization for CasaOS as a grouping. Basically you run Either approach above quarantines all CasaOS stuff together so user have a cleaner docker environment for their own use. I personally prefer first approach (DIND/KIND) so that I can easily spawn a CasaOS instance anywhere without worrying too much about the level of intrusion from CasaOS to my host OS. I can also easy disable CasaOS by simply docker stop or kuberctl scale --replica=0 in one step, and vice versa for enabling. Not to mention it's also much easier for CasaOS dev team to test with DIND/KIND due to the decoupling. Another benefit of DIND is it make it easier to run CasaOS on Windows with Docker or Mac with Docker. People might run Windows on ZB. A large number of HTPC market is also Windows based. CasaOS should bring the app-ized home server apps to all platforms. |
Beta Was this translation helpful? Give feedback.
-
It would be extremely pleasant to use it alongside an already existing homelab setup. |
Beta Was this translation helpful? Give feedback.
-
Hi i have a finished docker image for casaos which works fully. still needs some polishing, but I will publish in 1-2 weeks when i have time. |
Beta Was this translation helpful? Give feedback.
-
I run it in PVE8.0 LXC debian12 just chang sourc.list, will install fast, contain option0 fuse open |
Beta Was this translation helpful? Give feedback.
-
Hi, I just finished packing CasaOS in a Docker image. I will mainly use it as a nicer Portainer for my NAS and thought it would interest someone here so I am sharing. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I Would like to try CasaOS; but wouldn't it be possible to run in from inside a ubuntu based docker container?
Describe the solution you'd like
Is it an option to just create a docker file with ubuntu and docker installed; install it through the sh file and then pass the docker socket from the host. Has anybody yet tried this?
Describe alternatives you've considered
Additional context
Beta Was this translation helpful? Give feedback.
All reactions