6 ms·
Where are you pulling these definitions/differences from?
by btreecat 3y ago
Where are you pulling these definitions/differences from?
- goku12 3y agohttps://ubuntu.com/blog/what-are-linux-containers https://ubuntu.com/blog/what-are-linux-containers I have used both lxd and podman.
- alejo 3y agoIn this context, would Kubernetes be an orchestrator for application containers or system containers? Or both?
- goku12 3y agoK8s doesn't support orchestrating LXC/LXD containers as far as I know. What I did was to use LXD containers as hosts/nodes for K8s. So, it was basically application containers/pods and K8s running inside system containers. In addition, there are orchestrators which can run LXC containers (LXD is a management layer over LXC). Hashicorp Nomad is noteworthy. Added later: K8s runs OCI containers. All OCI containers I have seen are application containers. I don't know if OCI specification supports system containers.
- btreecat 3y agoI still don't see the technical difference, and lxc/lxd doesn't seem to provide one.
- eredengrin 3y agoI haven't read much about lxd until just now but based on that link, the differentiating feature between lxd and podman seems to be that lxd can manage full virtual machines (using qemu as backend, according to [1] which was linked elsewhere in this thread). Whatever this distinction is between application and system container, it doesn't appear to be a technical distinction nor a feature that lxd has that podman lacks, unless I'm wildly misunderstanding it. Containers you run with docker and podman are fully capable of running multiple processes (in my experience it's quite common to do so) and Red Hat has blog posts from years ago specifically discussing running systemd in podman, eg [2]. Managing VMs is indeed an additional feature though. [1] https://ubuntu.com/blog/lxd-virtual-machines-an-overview https://ubuntu.com/blog/lxd-virtual-machines-an-overview [2] https://developers.redhat.com/blog/2019/04/24/how-to-run-systemd-in-a-container https://developers.redhat.com/blog/2019/04/24/how-to-run-sys...
- goku12 3y ago> the differentiating feature between lxd and podman seems to be that lxd can manage full virtual machines LXD is a management layer over LXC and Qemu(KVM?). LXC is all about system containers. The Qemu support is a recent addition [1]. LXD supported only LXC system containers until then. > Containers you run with docker and podman are fully capable of running multiple processes Yes. I have done this. But it was very unwieldy - probably because docker, podman etc weren't designed to run system containers. [1] https://ubuntu.com/blog/lxd-virtual-machines-an-overview https://ubuntu.com/blog/lxd-virtual-machines-an-overview
- btreecat 3y agoI think the point is "system container" is a marketing term, not a technical term.