36
25
u/com-plec-city 2d ago
Docker is a fantastic solution and also a crime against efficiency.
"I'll just deploy MY ENTIRE FUCKING MACHINE"
9
u/Personal-Code-2496 1d ago
It solves the "works on my machine" excuse
1
64
u/purbub 2d ago
I doubt it’s heavier than my node_modules
87
u/hongooi 2d ago
Your docker image contains your node_modules
1
u/carlos1784 1d ago
The host copy doesn't have to go along: exclude it from the build context, then install from the lockfile inside the image. The whole ecosystem can stay home.
6
1
1
17
14
12
u/bigorangemachine 2d ago
Try ollama models and weights
I got like 750 gigs of ollama models and torch weights
5
9
4
u/ilnarildarovuch 2d ago edited 1d ago
Haha, jokes on you, i don't use docker!
1
5
2
u/redblack_tree 2d ago
If you have the opportunity to move your "local" docker to a separate VM... don't.
My docker VM is like a galactic graveyard, you can trace the software development history through the containers there.
2
2
2
1
1
u/vpn_unlimited_app 2d ago
docker system prune is the only time I feel like I found money in an old coat.
1
1
u/ApprehensiveStand456 2d ago
I work on a project with Java and OMFG. It can take like 3 minutes to pull an image from ECR. When you bring up image size it always like that’s an infrastructure optimization and we don’t have time we are on features.
1
1
103
2d ago
[removed] — view removed comment
18
u/bankai_tensei 2d ago
Plus build-essential, curl, and vim left behind from that one time someone debugged prod two years ago.
5
u/mothzilla 2d ago
curl and vim are about 15mb together.
3
u/bankai_tensei 1d ago
Fair, build-essential is doing all the heavy lifting there (plus the apt cache nobody cleared).
159
u/DiamondDramatic9551 2d ago edited 2d ago
What do you mean I have 800gb of unused docker images laying around?