2 ms·
Layers are each a tarball, extracted one by one on top of one another to get you to the end result.
by whalesalad 8y ago
Layers are each a tarball, extracted one by one on top of one another to get you to the end result.
- RantyDave 8y agoSo docker untars a filesystem which contains a file "foo" and calls this layer "1". Then it encounters a "RUN some_installer_thing" which removes file "foo" and calls this layer "2". If you just untar the layers on top of each other, foo will still be there. This is a problem, no?