F23 System Wide Change: Layered Docker Image Build Service

Matthew Miller mattdm at fedoraproject.org
Sat Jul 4 18:52:30 UTC 2015

On Fri, Jul 03, 2015 at 03:38:08AM -0400, Steven Crothers wrote:
> If you start creating “layers” in /whatever/ container system, how do
> you inform the RPM database of what is installed safely?
> It seems like the deltas in each image would start to cause some file
> integrity issues with RPM to me.
> Unless we’re specifically talking about layering without RPM, in
> which case it’s a non-issue.

In Docker, all layers are read-only except for the topmost layer. If
you update or add an RPM and save the result as a new layer, only that
layer will change, and the new rpmdb will be part of it.

Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader

More information about the devel mailing list