Commit ffa5ba40 authored by Robert Schmidt's avatar Robert Schmidt

Use capabilities in N310-based docker compose

- SA 2x2 tests on 60 and 100 MHz
- N310-based OAI gNB + UE

Give SYS_NICE and IPC_LOCK for performance. On the UE side, give
NET_ADMIN (for interface bringup) and NET_RAW (for ping an TUN).
parent 9f8fad86
services: services:
oai-gnb: oai-gnb:
image: oai-gnb:latest image: oai-gnb:latest
privileged: true
network_mode: "host" network_mode: "host"
container_name: oai-gnb container_name: oai-gnb
cap_drop:
- ALL
cap_add:
- SYS_NICE
- IPC_LOCK
environment: environment:
TZ: Europe/Paris TZ: Europe/Paris
USE_ADDITIONAL_OPTIONS: --log_config.global_log_options level,nocolor,time USE_ADDITIONAL_OPTIONS: --log_config.global_log_options level,nocolor,time
......
services: services:
oai-gnb: oai-gnb:
image: oai-gnb:latest image: oai-gnb:latest
privileged: true
network_mode: "host" network_mode: "host"
container_name: oai-gnb container_name: oai-gnb
cap_drop:
- ALL
cap_add:
- SYS_NICE
- IPC_LOCK
environment: environment:
TZ: Europe/Paris TZ: Europe/Paris
USE_ADDITIONAL_OPTIONS: --log_config.global_log_options level,nocolor,time USE_ADDITIONAL_OPTIONS: --log_config.global_log_options level,nocolor,time
......
services: services:
oai-gnb: oai-gnb:
image: oai-gnb:latest image: oai-gnb:latest
privileged: true
network_mode: "host" network_mode: "host"
container_name: oai-gnb container_name: oai-gnb
cap_drop:
- ALL
cap_add:
- SYS_NICE
- IPC_LOCK
ulimits: ulimits:
core: -1 # for core dumps core: -1 # for core dumps
environment: environment:
......
services: services:
oai-nr-ue: oai-nr-ue:
image: oai-nr-ue:latest image: oai-nr-ue:latest
privileged: true
network_mode: host network_mode: host
container_name: oai-nr-ue container_name: oai-nr-ue
cap_drop:
- ALL
cap_add:
- NET_ADMIN # for interface bringup
- NET_RAW # for ping
- SYS_NICE # for performance
- IPC_LOCK # for memory locking
devices:
- /dev/net/tun:/dev/net/tun
ulimits: ulimits:
core: -1 # for core dumps core: -1 # for core dumps
#entrypoint: /bin/bash -c "sleep infinity" #entrypoint: /bin/bash -c "sleep infinity"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment