Unable to setup lxcfs on RHEL 7.5


I am not able to setup lxcfs on RHEL 7.5. Below are the steps I followed.

I couldn’t find alternatives for the below packages(mentioned here https://linuxcontainers.org/lxcfs/getting-started/) except for libfuse-dev (i.e, fuse-devel for RHEL).

Building lxcfs requires the following libraries and development headers:

  • libcgmanager-dev
  • libnih-dbus-dev
  • libnih-dev
  • libfuse-dev

So, I installed fuse-devel + other necessary packages.
yum install -y autoconf automake libtool fuse fuse-devel

And executed the below steps
git clone git://github.com/lxc/lxcfs
cd lxcfs
sudo make install
sudo mkdir -p /usr/local/var/lib/lxcfs/
sudo ./lxcfs -s -f -o allow_other /usr/local/var/lib/lxcfs/

The process gets stuck like shown in the below screenshot.

I am unable to proceed further and not sure if I am missing anything. I would like to know if someone has setup ‘lxcfs’ on RHEL successfully and steps to do it.


Not an issue!