Pulls the srsLTE project srsLTE (> 2.0), the USRP drivers from the Ettus Research PPA and builds both eNodeB and UE binaries with the USRP as targeted SDR front-end.
Since this is a multistage build, you need at least Docker 17.05.
Build with:
docker build -t srs docker-srslte-usrp
UBUNTU_VERSION
codename of the base Ubuntu (defaultxenial
)SRSLTE_REPO
source repo of srsLTE (defaulthttps://github.com/srsLTE/srsLTE
)SRSLTE_CHECKOUT
branch/tag/commit to check out (defaultmaster
)
Run with:
start.sh
This also mounts the conf directory to /conf for convenient config editing on the host. Get example configs from the srsenb and srsue folders of the source repo.
Run eNodeB directly (on the container):
bash -c "srsenb enb.conf & tail --follow --retry /tmp/enb.log"
Use uhd_find_device
to check if the container sees the USRP.
If you want to run GUI applications within the container (also works via SSH):
xstart.sh
- figure out required capabilities (instead of
--privileged
)