Giuseppe Scrivano ddce687dfd
containerfs: rewrite it to use *at functions
do not use absolute paths when accessing files.  Use relative paths to
the layers root.  As part of the refactoring, also drop any cache of
the lower layers, working more similarly as overlay in the kernel.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-07-03 20:28:36 +02:00
2018-06-17 16:34:29 +02:00
2018-06-17 16:34:29 +02:00
2018-06-17 16:34:29 +02:00
2018-06-17 16:34:29 +02:00

containerfs

An implementation of overlay+shiftfs in FUSE for rootless containers.

Known issues:

Hard links in some cases show different inode values.

Read-only mode is not supported, so it is always required to specify an upperdir and a workingdir.

Usage:

$ containerfs -o lowerdir=lowerdir/a:lowerdir/b,upperdir=up,workdir=workdir merged

Specify a different UID/GID mapping:

$ containerfs -o uid=0:10:100:100:10000:2000,gid=0:10:100:100:10000:2000,lowerdir=lowerdir/a:lowerdir/b,upperdir=up,workdir=workdir merged
Description
FUSE implementation for overlayfs
Readme 1.9 MiB
Languages
C 61.4%
M4 33.3%
Shell 2.2%
Makefile 2.1%
Roff 0.7%
Other 0.3%