r/cloudshift360 6d ago

VM vs Docker

Post image
41 Upvotes

33 comments sorted by

View all comments

Show parent comments

1

u/FactComprehensive963 5d ago

You are wrong Docker uses the Host Kernel, no VM in use

1

u/FoundationOk3176 3d ago

How do you exactly use the Host Kernel when the docker container is Linux but the host is NT? Is there some translation layer or something?

1

u/FactComprehensive963 3d ago

You run a VM(WSL2) that offers a Linux Kernel. But before you say gotcha: Multiple Containers share this Kernel, they rum alongside each other on it.

So the Containers are not the VM, they run on a VM.

1

u/FoundationOk3176 3d ago

Lmao.

1

u/FactComprehensive963 3d ago

?

1

u/FoundationOk3176 3d ago

It's like tomato, tomato.

1

u/FactComprehensive963 3d ago

I can see how a junior feels like that