• Robert Schmidt's avatar
    Use capabilities in B200-based docker-compose · 9dd52c9d
    Robert Schmidt authored
    - sa_b200_gnb
    - sa_aw2s_gnb
    - sa_e1_b200
    - sa_f1_b200
    - sa_sc_b200_gnb
    - nsa_b200_gnb
    
    By default, the container has no access to /dev. Mount all USB devices
    into the container to ease usability: by default, USB devices are
    mounted under /dev/bus/usb using the bus ID, which is different on every
    system and might change on reboots or with (un-)plugging USB devices.
    Hence, mount all USB; the process has not many capabilities anyway, and
    thus might not do much harm.
    
    A proper solution would be to write a udev rule to mount a device using
    its vendor and product ID, and only mount the corresponding device into
    the container.
    9dd52c9d
docker-compose.yml 1.16 KB