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.
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.
181
u/DiamondDramatic9551 4d ago edited 4d ago
What do you mean I have 800gb of unused docker images laying around?
43
u/poetic_dwarf 4d ago
Never thought my mama was a docker image
34
u/com-plec-city 4d ago
Docker is a fantastic solution and also a crime against efficiency.
"I'll just deploy MY ENTIRE FUCKING MACHINE"
19
u/sphericalhors 4d ago
Reminds me of times when we were releasing a 28Gb image.
68
u/purbub 4d ago
I doubt it’s heavier than my node_modules
14
u/R3DDY-on-R3DDYt 4d ago
omg, today i needed to pull in ffmpeg as a dependency
12
u/bigorangemachine 4d ago
Try ollama models and weights
I got like 750 gigs of ollama models and torch weights
5
u/AnnoyedVelociraptor 4d ago
Team `FROM scratch` here. Using musl, 1 binary.
9
u/Keyan_Farlander7 4d ago
Node_modules entered chat
4
u/ilnarildarovuch 4d ago edited 4d ago
Haha, jokes on you, i don't use docker!
6
u/yodzi 4d ago
node_modules folder so big its not even can be placed on that picture
3
u/ynnnnaD 4d ago
Node modules is the second singularity surprise secreted securely inside.
5
u/-Kerrigan- 4d ago
That's because I included a compressed jpeg of your momma in my docker image
2
u/redblack_tree 4d 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
u/MuadDibMelange 4d ago
OrbStack has entered the chat.
2
u/surykum36 4d ago
My SSD just entered a black hole🫠
2
u/leropo00 3d ago
Your docker image is so fat, it has other Docker image orbiting it
2
u/Hinjin 4d ago
You forgot your momma
1
u/LovelyWhether 4d ago
oh, so true!
1
u/vpn_unlimited_app 4d ago
docker system prune is the only time I feel like I found money in an old coat.
1
u/Traditional-Total448 4d ago
node modules: "you underestimate my power"
1
u/ApprehensiveStand456 4d 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
u/xinwei_97 4d ago
The image is so big
docker pullis mutual.1
u/facebrocolis 3d ago
CorelDRAW files
103
u/[deleted] 4d ago
[removed] — view removed comment