this post was submitted on 17 Nov 2024
261 points (98.9% liked)

Programmer Humor

32490 readers
554 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 23 hours ago (2 children)

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

[–] [email protected] 1 points 2 hours ago (1 children)

That's the most reasonable part of the image

[–] [email protected] 1 points 50 minutes ago (1 children)

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

[–] [email protected] 1 points 17 minutes ago

Using Docker in a VM on a Hypervisor is industry standard, using docker inside of docker may be okay for CI purposes but I wouldn't do anything more than that in production if it's not necessary.

The stack from the image above (Windows>WSL> Docker>Minikube>Docker>App) is something you'd use on a dev machine (not a "real", production-like test environment), in which case you don't really care about the performance loss

[–] [email protected] 16 points 22 hours ago

That's super standard for actual infrastructure