-+------------------------------------------------------+------------------------------------------------------+
-| Docker options | Description |
-+======================================================+======================================================+
-| -v /lib/modules/$(uname -r):/lib/modules/$(uname -r) | needed by kernel modules in the container |
-+------------------------------------------------------+------------------------------------------------------+
-| -v /dev:/dev | needed by kernel modules in the container |
-+------------------------------------------------------+------------------------------------------------------+
-| -v $PWD:/tmp/nfvbench | optional but recommended to pass files between the |
-| | host and the docker space (see examples below) |
-| | Here we map the current directory on the host to the |
-| | /tmp/nfvbench director in the container but any |
-| | other similar mapping can work as well |
-+------------------------------------------------------+------------------------------------------------------+
-| --net=host | (optional) needed if you run the NFVbench ok |
-| | server in the container (or use any appropriate |
-| | docker network mode other than "host") |
-+------------------------------------------------------+------------------------------------------------------+
-| --privileged | (optional) required if SELinux is enabled on the host|
-+------------------------------------------------------+------------------------------------------------------+
-| -e HOST="127.0.0.1" | (optional) required if REST server is enabled |
-+------------------------------------------------------+------------------------------------------------------+
-| -e PORT=7556 | (optional) required if REST server is enabled |
-+------------------------------------------------------+------------------------------------------------------+
-| -e CONFIG_FILE="/root/nfvbenchconfig.json | (optional) required if REST server is enabled |
-+------------------------------------------------------+------------------------------------------------------+
++-------------------------------------------------------+-------------------------------------------------------+
+| Docker options | Description |
++=======================================================+=======================================================+
+| -v /lib/modules/$(uname -r):/lib/modules/$(uname -r) | needed by kernel modules in the container |
++-------------------------------------------------------+-------------------------------------------------------+
+| -v /usr/src/kernels:/usr/src/kernels | needed by TRex to build kernel modules when needed |
++-------------------------------------------------------+-------------------------------------------------------+
+| -v /dev:/dev | needed by kernel modules in the container |
++-------------------------------------------------------+-------------------------------------------------------+
+| -v $PWD:/tmp/nfvbench | optional but recommended to pass files between the |
+| | host and the docker space (see examples below) |
+| | Here we map the current directory on the host to the |
+| | /tmp/nfvbench director in the container but any |
+| | other similar mapping can work as well |
++-------------------------------------------------------+-------------------------------------------------------+
+| --net=host | (optional) needed if you run the NFVbench ok |
+| | server in the container (or use any appropriate |
+| | docker network mode other than "host") |
++-------------------------------------------------------+-------------------------------------------------------+
+| --privileged | (optional) required if SELinux is enabled on the host |
++-------------------------------------------------------+-------------------------------------------------------+
+| -e HOST="127.0.0.1" | (optional) required if REST server is enabled |
++-------------------------------------------------------+-------------------------------------------------------+
+| -e PORT=7556 | (optional) required if REST server is enabled |
++-------------------------------------------------------+-------------------------------------------------------+
+| -e CONFIG_FILE="/root/nfvbenchconfig.json | (optional) required if REST server is enabled |
++-------------------------------------------------------+-------------------------------------------------------+