5 ms·
...not to mention its environmental impact. Docker requires to pull a 1GB image to run a 1MB binary. Increases of 100x to 1000x are pretty common and moving d
by goodpoint 4y ago
...not to mention its environmental impact.
Docker requires to pull a 1GB image to run a 1MB binary.
Increases of 100x to 1000x are pretty common and moving data around is quite harmful.
- alphabettsy 4y agoDocker doesn’t require that. Many images are just poorly built.
- goodpoint 4y agoShow me fully functional docker images that are 2MB in size...
- kubanczyk 4y agoJust slightly over 2MB nowadays: gcr.io/distroless/static-debian11 latest 10d0cc57bead 2.36MB No functionality beyond running a binary, but, hey, that's what GP wanted.
- goodpoint 4y agoAnd yet I clearly wrote "fully functional"...
- alphabettsy 4y agoThere’s a huge gulf between 1GB and 2MB while still enjoying the benefits of containers. Go containers I build are <15MB and most of that is the fat Go binary.
- deleted 4y ago[deleted]
- prmoustache 4y agoI only use distro and scratch base image and build my own images locally from dockerfiles.