<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Overlayfs on *scratch*</title>
    <link>https://www.scrivano.org/tags/overlayfs/</link>
    <description>Recent content in Overlayfs on *scratch*</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 06 Jun 2026 10:03:54 +0000</lastBuildDate>
    <atom:link href="https://www.scrivano.org/tags/overlayfs/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Disposable rootless sessions</title>
      <link>https://www.scrivano.org/2019/01/09/disposable-rootless-sessions/</link>
      <pubDate>Wed, 09 Jan 2019 22:01:08 +0000</pubDate>
      <guid>https://www.scrivano.org/2019/01/09/disposable-rootless-sessions/</guid>
      <description>&lt;p&gt;Would be nice to have a way to “fork” the current session and be able to revert all the changes done, without any leftover on the file system. With fuse-overlayfs, a user-space overlay filesystem that unprivileged users can mount, this turns out to be surprisingly straightforward: mount the entire root filesystem as the lower layer of an overlay, point the upper layer at a temporary directory, and every write is captured there and can be discarded at the end of the session, leaving the underlying system untouched.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fuse-overlayfs moved to github.com/containers</title>
      <link>https://www.scrivano.org/2018/07/13/fuse-overlayfs-moved-to-github-com-containers/</link>
      <pubDate>Fri, 13 Jul 2018 22:00:59 +0000</pubDate>
      <guid>https://www.scrivano.org/2018/07/13/fuse-overlayfs-moved-to-github-com-containers/</guid>
      <description>&lt;p&gt;The fuse-overlayfs project I was working on in the last weeks was moved under the &lt;a href=&#34;https://github.com/containers&#34;&gt;github.com/containers&lt;/a&gt; umbrella. fuse-overlayfs is a user-space implementation of the overlay filesystem that can be mounted without root privileges, which is essential for rootless containers. With Linux 4.18 introducing the ability to mount FUSE filesystems inside user namespaces, this makes overlay-based storage finally usable by unprivileged container runtimes such as Podman.&lt;/p&gt;&#xA;&lt;p&gt;With Linux 4.18 it will be possible to mount a FUSE file system in an user namespace. fuse-overlayfs is an implementation in user space of the overlay file system already present in the Linux kernel, but that can be mounted only by the root user. Union file systems were around for a long time, allowing multiple layers to be stacked on top of each other where usually the last one is the only writeable.&lt;br&gt;&#xA;Overlay is an union file system widely used for mounting OCI image. Each OCI image is made up of different layers, each layer can be used by different images. A list of layers, stacked on each other gives the final image that is used by a container. The last level, that is writeable, is specific for the container. This model enables different containers to use the same image that is accessible as read-only from the lower layers of the overlay file system.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Current status (and problems) of running Buildah as non root</title>
      <link>https://www.scrivano.org/2018/02/25/current-status-problems-running-buildah-non-root/</link>
      <pubDate>Sun, 25 Feb 2018 13:59:14 +0000</pubDate>
      <guid>https://www.scrivano.org/2018/02/25/current-status-problems-running-buildah-non-root/</guid>
      <description>&lt;p&gt;Having Buildah running in a user namespace opens the possibility of building container images as a non-root user. I’ve done some work to get &lt;a href=&#34;https://github.com/projectatomic/buildah&#34;&gt;Buildah&lt;/a&gt; running inside a user container, where it can still create and modify container images without any elevated privileges on the host. This is useful for CI environments and shared systems where granting root or setuid access is not acceptable.&lt;/p&gt;&#xA;&lt;p&gt;There are still some open issues to get it fully working. The biggest open one is that &lt;em&gt;overlayfs&lt;/em&gt; cannot be currently used as non root user. There is some work going on, but this will require changes in the kernel and the way extended attributes work for overlay. The alternative is far from ideal and it is to use the &lt;em&gt;vfs&lt;/em&gt; storage driver, but it is a good starting point to get things moving and see how far we get. (Another possibility that doesn’t require changes in the kernel would be an OSTree storage for Buildah, but that is a different story).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
