Skip to content

hallyn/lxcfs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 1080 commits behind lxc:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

FUSE filesystem for LXC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.2%
  • Shell 1.8%