]> git.proxmox.com Git - mirror_lxcfs.git/blob - README.md
Update README
[mirror_lxcfs.git] / README.md
1 # lxcfs
2
3 ## Introduction
4 FUSE filesystem for LXC, offering the following features:
5 - a cgroupfs compatible view for unprivileged containers
6 - a set of cgroup-aware files:
7 - cpuinfo
8 - meminfo
9 - stat
10 - uptime
11
12 ## Usage
13 The recommended command to run lxcfs is:
14
15 sudo mkdir -p /var/lib/lxcfs
16 sudo lxcfs -s -f -o allow_other /var/lib/lxcfs
17
18 - -s is required to turn off multi-threading as libnih-dbus isn't thread safe.
19 - -f is to keep lxcfs running in the foreground
20 - -o allow\_other is required to have non-root user be able to access the filesystem
21 - -d can also be passed in order to debug lxcfs