Re:RunCVM: An open-source Docker runtime for launching conta...
by jensneuse on Thursday August 29, 2024 @02:02AM
(#41387813)
Looks cool and I understand what it does. Can you explain the production use case for this solution? It's not clear to me how this would be used in real life.
Re:RunCVM: An open-source Docker runtime for launching conta...
by sofixa on Thursday August 29, 2024 @02:16AM
(#41387881)
Not OP and not at all related to the project, but I imagine in production you would just replace the container runtime of your Kubernetes/Nomad/Swarm/homemade orchestrator, and run Docker container as usual (but each one is a separate VM). The advantages would be that you have actual isolation between the containers, so it's great for higher security contexts (e.g. banks) or multi tenant setups.
Re:RunCVM: An open-source Docker runtime for launching conta...
by newstechfounder on Thursday August 29, 2024 @12:32PM
(#41392600)
That's about right. RunCVM should be compatible with orchestrators today that use the Docker command line or API. As an experimental project, Kubernetes compatibility is beyond our current scope but it would be an interesting exercise.
Re:RunCVM: An open-source Docker runtime for launching conta...
by mkesper on Thursday August 29, 2024 @03:23AM
(#41388218)
This should be changed into show HN?
Re:RunCVM: An open-source Docker runtime for launching conta...
by newstechfounder on Thursday August 29, 2024 @12:28PM
(#41392545)
Good suggestion, thanks. I'll look at doing that.
Launch nginx VM publishing VM port 80 on host port 8080:
`docker run --runtime=runcvm --name nginx1 --rm -p 8080:80 nginx`
Launch an interactive terminal on an Ubuntu VM:
`docker run --runtime=runcvm --name ubuntu1 --rm -it ubuntu`
RunCVM runs standard container workloads (like nginx or mariadb) as well as system workloads (like Systemd, Docker, stock or bespoke Linux kernels, even OpenWrt).
RunCVM:
BACKGROUND:RunCVM was born out of difficulties experienced using the Docker and Podman CLIs to launch Kata Containers v2, and a belief that launching containerised workloads in VMs using Docker needn't be so complicated.
Like Kata, RunCVM aims to be a secure container runtime with lightweight virtual machines that feel and perform like containers, but provide stronger workload isolation using hardware virtualisation technology.
However, while Kata aims to launch standard container images inside a restricted-privileges namespace inside a VM running a single fixed and heavily customised kernel and Linux distribution optimised for this purpose, RunCVM intentionally aims to launch container or VM images as the VM's root filesystem using stock or bespoke Linux kernels, the upshot being RunCVM's can run VM workloads that Kata's security and kernel model would explicitly prevent.
FURTHER DETAILS:
RunCVM was first released under the Apache license in April 2023 and its latest release, v1.4.0, is the culmination of an extensive amount of R&D over roughly two years.Questions, suggestions and feedback are most welcome.