You are viewing a single thread.
View all comments
56 points

People don’t actually do this, right? Docker inside docker inside a VM inside another VM? On windows? Right???

permalink
report
reply
3 points

I’ve ran Docker in LXC in a KVM before. I used LXC to have multiple containers on a VPS. Then I had to run something that works best with Docker, so I stuck Docker in an LXC.

permalink
report
parent
reply
73 points

permalink
report
parent
reply
15 points

Isnt that exactly what minikube is? Kubernetes in docker.

I’ve used docker-in-docker images, but its usually not fun.

permalink
report
parent
reply
14 points

I’m pretty sure docker recommends that it runs under WSL when on windows.

permalink
report
parent
reply
5 points

Yeah, docker in a VM makes sense. Docker in docker in a vm in a vm though?

permalink
report
parent
reply
5 points

Yep, can confirm

permalink
report
parent
reply
6 points
*

Windows itself is technically running in a VM if you have Hyper-V enabled (not quite that simple, but that’s a reasonable approximation). Hyper-V is a type 1 hypervisor which means it runs directly on the underlying physical hardware, and both Windows as well as any VMs you create are running on top of Hyper-V.

permalink
report
parent
reply
3 points

Oh that’s an interesting tidbit, didn’t know that

permalink
report
parent
reply
17 points

I’ve seen docker inside a VM before but that was just a dev box for testing

permalink
report
parent
reply
17 points

That’s super standard for actual infrastructure

permalink
report
parent
reply
4 points

That’s the most reasonable part of the image

permalink
report
parent
reply
3 points

Are you not losing loads of performance by stacking vms like that?

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4.2K

    Monthly active users

  • 947

    Posts

  • 10K

    Comments

Community moderators