osmo-gsm-tester: Allow setting rtprio inside the container

This fixes for instance srsLTE being unable to create a thread with
realtime priority.

Change-Id: If0d033c6e912795804e6d7322c22fdfc6602028b
This commit is contained in:
Pau Espin 2020-03-11 16:32:56 +01:00 committed by pespin
parent dbd6d77a7e
commit d61b741a61
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ echo Starting container with osmo-gsm-tester slave
docker run --rm \
--cap-add=NET_ADMIN \
--cap-add=SYS_ADMIN \
--ulimit rtprio=99 \
--device /dev/net/tun:/dev/net/tun \
--network $NET_NAME \
--ip 172.18.50.100 \
@ -42,6 +43,7 @@ echo Starting container with osmo-gsm-tester main unit
docker run --rm \
--cap-add=NET_ADMIN \
--cap-add=SYS_ADMIN \
--ulimit rtprio=99 \
--device /dev/net/tun:/dev/net/tun \
--network $NET_NAME \
--ip 172.18.50.2 \