Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Can i run a FFL container in no privileged mode?  #15

Description

@xinxinh2020

Hi:
As far as i am concerned, now that freeflow is a resolution of RDMA virtualization, the container is no need to have the privilege to access the RDMA device in the host. After i install OFED in the original ubuntu container and commit it as a image named ubuntu_ffl ,I wonder if the bold fonts in the following is unnecessary when i use the ubuntu_ffl to run a ffl container?

sudo docker run --name node1 --net weave -e "FFR_NAME=router1" -e "FFR_ID=10" -e "LD_LIBRARY_PATH=/usr/lib" -e --ipc=container:router1 -v /sys/class/:/sys/class/ -v /freeflow:/freeflow -v /dev/:/dev/ --privileged --device=/dev/infiniband/uverbs0 --device=/dev/infiniband/rdma_cm -it -d ubuntu_ffl /bin/bash

So, i try it with the following command:

docker run --name node1 --net weave -e "FFR_NAME=router1" -e "FFR_ID=12" -e "LD_LIBRARY_PATH=/usr/lib"  --ipc=container:router1  -v /public/hxx/freeflow:/freeflow - -it -d ubuntu_ffl /bin/bash

Howerver,when i run ib_send_bw in this ffl,there are some errors occured, just like:
image

Is it wrong to run a ffl container in no privileged mode?Hope for your carification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions