Re:“Shared libraries are not a good thing in general”
by pjc50 on Sunday May 02, 2021 @04:21AM
(#27013304)
I bet someone will invent shared content for Docker containers in the next few years as a disk-saving measure.
[ Parent
| on HN ]
Re:“Shared libraries are not a good thing in general”
by codegladiator on Sunday May 02, 2021 @04:25AM
(#27013333)
That's called volume mounts and/or base images ?
Re:“Shared libraries are not a good thing in general”
by regularfry on Sunday May 02, 2021 @05:06AM
(#27013565)
If I do an `apt-get install` of the same packages in different containers, with anything different at all before it in the Dockerfiles, there's no way to share a common layer that includes the package contents between those images.
You could volume mount /usr and chunks of /var to help, but I'm not sure that would be sane.
Re:“Shared libraries are not a good thing in general”
by radicalbyte on Sunday May 02, 2021 @05:46AM
(#27013747)
There are storage systems which do this, de-dupe on disk level.