this post was submitted on 17 Nov 2024
211 points (98.6% liked)

Programmer Humor

32495 readers
622 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 28 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 6 hours ago (1 children)

TIL go is an interpreted language and runs straight from source code!

[–] [email protected] 4 points 5 hours ago

obviously the shell script compiles the executable every time the image is run :)

[–] [email protected] 61 points 22 hours ago (4 children)

Docker, no docking!
Docker, no docking!
Docker, no docking!

[–] [email protected] 4 points 13 hours ago

Backup, backup....

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

deploying docker-compose to production

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

Wait, by docking do you mean... docking?

[–] [email protected] 18 points 21 hours ago (1 children)
[–] [email protected] 4 points 11 hours ago
[–] [email protected] 40 points 21 hours ago (5 children)

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

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

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.

[–] [email protected] 13 points 12 hours ago (3 children)

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

[–] [email protected] 1 points 15 minutes ago* (last edited 14 minutes ago)

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.

[–] [email protected] 5 points 9 hours ago

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

[–] [email protected] 5 points 10 hours ago

Yep, can confirm

[–] [email protected] 16 points 21 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 22 minutes ago

That's the most reasonable part of the image

[–] [email protected] 14 points 20 hours ago

That's super standard for actual infrastructure

[–] [email protected] 11 points 20 hours ago

Isnt that exactly what minikube is? Kubernetes in docker.

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

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

Could also be a hyper-v layer around Windows "host"

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

You know how much layers there are under hello.go?

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

There are even layers within the hardware layer. :)

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

and of course at the lowest level the particle interactions are all calculated by cueball using rocks in a desert

[–] [email protected] 21 points 20 hours ago (1 children)
[–] [email protected] 3 points 10 hours ago
[–] [email protected] 7 points 22 hours ago (1 children)

Dora s'appelle Jane en anglais ?!

[–] [email protected] 17 points 21 hours ago

Non, Dora s'appelle Dora en anglais. The meme is just weird.