Use overlayfs in lxc-clone
Bug #1029777 reported by
Evan Prodromou
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Wishlist
|
Serge Hallyn |
Bug Description
I like that lxc-start-ephemeral uses overlayfs. It would be nice to have the same backing store support in lxc-clone.
Changed in lxc (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | Triaged → In Progress |
Changed in lxc (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Thanks, this is something we do want to support.
One thing we need to consider is that the original container or base rootfs cannot be deleted or the cloned container will disappear. This requires some special new checks in lxc-destroy.
Overlayfs does have some bugs which are not being resolved quickly. (At least /proc/$pid/maps being corrupted, there may be more). Ephemeral containers are deemed more 'experimental' than 'real' containers, so it may be worth waiting to support overlayfs in lxc-clone, which produces "real" containers, until those are resolved.
I will mark this Triaged and wishlist priority.