FUSE filesystem for LXC
C Shell
Pull request Compare This branch is 458 commits behind lxc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
AUTHORS
CONTRIBUTING.md
COPYING
ChangeLog
Makefile.am
NEWS
README
README.md
bootstrap.sh
cgmanager.c
cgmanager.h
configure.ac
lxcfs.c
lxcfs.man.add

README.md

lxcfs

Introduction

FUSE filesystem for LXC, offering the following features:

  • a cgroupfs compatible view for unprivileged containers
  • a set of cgroup-aware files:
    • cpuinfo
    • meminfo
    • stat
    • uptime

Usage

The recommended command to run lxcfs is:

sudo mkdir -p /var/lib/lxcfs
sudo lxcfs -s -f -o allow_other /var/lib/lxcfs
  • -s is required to turn off multi-threading as libnih-dbus isn't thread safe.
  • -f is to keep lxcfs running in the foreground
  • -o allow_other is required to have non-root user be able to access the filesystem
  • -d can also be passed in order to debug lxcfs