Mailing List Archive

Containers as VMs.
Hello,
What is the benefit of running a container as a VM?


Thank you.
Re: Containers as VMs. [ In reply to ]
There is no benefit, since it's not possible. You can run a container
*on *a VM, but not *as *a VM.

The processes in a container run on the container host, using the host's
kernel.
A VM has its own kernel. Processes in a VM use the VM's kernel, and
don't run on the VM's host.

On 2021/06/07 8:09 PM, Jason Long wrote:
> Hello,
> What is the benefit of running a container as a VM?
>
>
> Thank you.
>
Re: Containers as VMs. [ In reply to ]
Thanks.
How about the runX or Kata Containers?






On Tuesday, June 8, 2021, 06:32:26 AM GMT+4:30, Bernd Bausch <berndbausch@gmail.com> wrote:






There is no benefit, since it's not possible. You can run a container on a VM, but not as a VM.

The processes in a container run on the container host, using the host's kernel.
A VM has its own kernel. Processes in a VM use the VM's kernel, and don't run on the VM's host.


On 2021/06/07 8:09 PM, Jason Long wrote:


>  Hello,
> What is the benefit of running a container as a VM?
>
>
> Thank you.
>
>
Re: Containers as VMs. [ In reply to ]
Hello,I guess the new version of the Xen Project have a container inside of itself. Am I wrong? Or if it is true, then why other products?

Sent from Yahoo Mail on Android

On Mon, Jul 19, 2021 at 5:38 PM, Jason Long<hack3rcon@yahoo.com> wrote: Hello,Run virtual machines inside containers? I guess you mean was "Run containers inside virtual machines" !
Sent from Yahoo Mail on Android

On Tue, Jun 15, 2021 at 3:57 AM, WF Konynenberg<wfk@konynenberg.org> wrote: Btw, I know at least one company that does sort of the reverse of what RunX/Kata do: they run virtual machines inside containers.  One VM per container.  This is technically perhaps not entirely optimal, but it makes sense if you already have a complete infrastructure to automatically run containers at scale, and you need an infrastructure to run VMs at scale.  Package the VM inside a container and deploy it automatically using the existing container infrastructure.  Saves a lot of work.

wfk

On June 14, 2021 5:48:46 PM GMT+02:00, Jason Long <hack3rcon@yahoo.com> wrote:
>Thank you.
>Do you know RunX(https://github.com/lf-edge/runx) or Kata Containers?
>
>
>
>
>
>
>On Tuesday, June 8, 2021, 03:27:48 PM GMT+4:30, WF Konynenberg
><wfk@konynenberg.org> wrote:
>
>
>
>
>
>The question as stated doesn't make much sense and suggests you may
>want to read up a bit on the theory behind these two technologies.
>
>Containers and VMs have some significant similarities, and some
>significant differences.  Which tool you use to solve any specific
>problem depends on many factors and often there isn't necessarily any
>single "best" solution.
>
>But it is important to realize that these are two distinct
>technologies, each with their own specific properties.
>
>So you cannot, in general, "run a container as a VM".  You may be able
>to use a container in a way that gives you all the key benefits of a VM
>that you care about for this specific use case.  There are many use
>cases where either a container or a VM will basically do the job, and
>you make your choice based on additional external constraints that
>might perhaps make one technology or the other more preferable for the
>organization.
>
>There is no clear universal "benefit" of one over the other.  The two
>technologies have some fundamentally different properties at various
>levels, and you need to consider which of these properties are and are
>not relevant for your particular use case.
>
>wfk
>
>On June 7, 2021 1:09:28 PM GMT+02:00, Jason Long <hack3rcon@yahoo.com>
>wrote:
>>Hello,
>>What is the benefit of running a container as a VM?
>>
>>
>>Thank you.

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.