razorheadfx/docker-srslte-usrp
a hassle-free way to build srsLTE and srsUE
repo name | razorheadfx/docker-srslte-usrp |
repo link | https://github.com/razorheadfx/docker-srslte-usrp |
homepage | |
language | Shell |
size (curr.) | 11 kB |
stars (curr.) | 13 |
created | 2017-05-29 |
license | MIT License |
A USRP-friendly image for LTE experimentation
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
Build args
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
)
Deploy
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
TODO
- figure out required capabilities (instead of
--privileged
)