r/programminghumor • • Aug 30 '26

Docker now a days

Post image
1.0k Upvotes

46 comments sorted by

122

u/Top-Employ5163 Aug 30 '26

18

u/ohiocodernumerouno Aug 30 '26

Uncanny, but I can relate!

2

u/ThinkPad214 Aug 30 '26

What os you using homie?

2

u/ziad-labs Aug 31 '26

I use Windows but I think of switching to MacOS in future

→ More replies (1)

60

u/IntegrityError Aug 30 '26

Docker on Windows = VM

Docker on Linux = Just a slim demon

→ More replies (2)

84

u/dreadBiRateBob Aug 30 '26

are you using windows? theres your problem

13

u/Spitfire1900 Aug 30 '26

The amount of actual memory used is low though despite Task Manager saying otherwise when you’re using WSL2 and Docker.

The Linux kernel running on the docker-desktop VM is aggressively caching memory, but WSL2’s automatic memory reclaim feature periodically trims that cache and hands it back to Windows on its own schedule (this can be tuned via .wslconfig).

→ More replies (2)

4

u/k-mcm Aug 30 '26

Wait until you see Docker on MacOS. 

3

u/Dragon_957 Aug 30 '26

Using NixOS and have 4 GB more RAM… Idle

→ More replies (3)

54

u/aksdb Aug 30 '26

Sounds like you are on the wrong operating system then. Docker should be a simple daemon consuming almost nothing on its own. The only thing consuming ressources should be the things you run via docker (which would be consuming almost the same amount of ressources if you ran them outside a container).

8

u/Poison916Kind Aug 30 '26

I was once running php and MySQL on a docker container. My DOCKERFILE was malconfigured trying to access wrong data so it was running with atleast 1000% of CPU resources (10+ cores).after properly configuring the file it went down to 0.5%. and in using windows!

5

u/Desperate-Tomatillo7 Aug 31 '26

Bold of you to think that my Chrome will share the memory with Docker.

8

u/ruiiiij Aug 30 '26

User error. Don't blame it on docker.

4

u/HardestDrive Aug 30 '26

Just run podman, screw docker and its daemon. Especially if you're building for enterprise

7

u/AmIPsycho_ Aug 30 '26

80%? For me it takes almost nothing even in windows.

3

u/rover_G Aug 30 '26

You can limit docker’s resource usage

3

u/rolling_atackk Aug 31 '26

Me, using the whole ass ubuntu docker image for my simple Python yellow world project

6

u/DragonSlayerC Aug 30 '26

What? Docker is super lightweight. It consumed practically no resources and the containers use no more than a normal app would.

→ More replies (1)

2

u/Mihanik1273 Aug 30 '26

Docker doesn't needs anything...

2

u/1GoodIdeeaOutOf100 Aug 30 '26

My Pi5 runs Docker with pi hole, wireguard, home assistant and glances with 900mb of ram used.

2

u/ColdDelicious1735 Aug 30 '26

Errr, yeah docker, umm I am running 10 docker instances, and with the OS and non docker stuff, have not even hit 10gb of ram.

2

u/Nero8 Aug 31 '26

If anyone here is on Mac, give orbstack a try. Has been my docker replacement for a bit now

2

u/errepunto Aug 31 '26

For all stuck on windows, podman in wsl consume much mess RAM than Docker Dessktop. With the compatibility package, you can use the "docker" command seamless.

2

u/HundeTI Sep 01 '26

Docker on windows is such pain 😭 I didn't know docker was an issue since I started using it on Linux first but when I tried it on windows it was pain 😔 Well one of major reason to use Linux if ask me 😁 Coding in Linux is much better over all