How does Cloudron work? What does it do? etc :)
-
@jdaviescoates The linux kernel has various built-in features/system calls like 'cgroups' (provides cpu/ram/resource isolation), namespaces (pid/ipc/mounts), overlay filesystem etc. These things apply to 'process'es.
'Container' is a term and not some feature of the kernel as such. It brings all the above system calls together along with bundling/packaging aspect to help create containerized "apps". Apps can be desktop UI, web apps, daemons, anything.
Docker is one implementation of the 'container' concept. When creating a implementation (just like how you design a language), you have to decide style/structure/format. We have this Dockerfile that explains how to put deps together, how to configure things, how to push the final build image to the cloud and pull down this image and deploy it on another server etc.
Other implementations exist which are in various states - rocket, OpenVZ(?), LXC, snap, containerd, cri-o off my head.
When we started, Docker was the de-facto implementation. These days there are more options and in theory we can switch to another one without affecting end users (though it's a lot of work). Also, when we started, we had no 'custom apps'. Changing the run time will break custom apps, so I think we are married to Docker until that project lives.
@girish said in How does Cloudron work? What does it do? etc
:
Changing the run time will break custom apps, so I think we are married to Docker until that project lives.
That's not quite true.. remember Nestybox?
Their runtime called "sysbox" is a drop in replacement forrunc
which docker uses by default. -
@girish said in How does Cloudron work? What does it do? etc
:
Changing the run time will break custom apps, so I think we are married to Docker until that project lives.
That's not quite true.. remember Nestybox?
Their runtime called "sysbox" is a drop in replacement forrunc
which docker uses by default. -
@robi From what I remember, sysbox was like a backend to docker, it doesn't replace docker. Unlike the other things I mentioned which will replace docker.
-
@girish said in How does Cloudron work? What does it do? etc
:
@robi Would be interesting to know what
systemd-detect-virt
prints for nestyboxThat's easy to test, just change one line in the docker config or specify it on the CLI and bring up a container using sysbox, then run the tool.