<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - --template in systemd-nspawn should support overlayfs too"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89975">89975</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>--template in systemd-nspawn should support overlayfs too
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gdamjan@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>The --template option in systemd-nspawn will take a filesystem, make a btrfs
snapshot of it, and run the container in the snapshot, then destroy the
snapshot when it's over.
The same functionality could be implemented with overlay(fs) in kernels newer
or equal than 3.18, for systems not running on btrfs. The base filesystem would
be the read-only lower layer of the overlay, and the write layer can be in a
tmpfs or anywhere else on the real filesystem.
Additionally, the overlay(fs) now also supports more than one read-only layer.
Also food for thought, it might be an interesting option to have the write
layer persistent - but that would diverge from the btrfs usage.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>