This Dockerfile allows you to easily deploy a native RTL-SDR server using Docker
Image | Tag | Build | Latest |
---|---|---|---|
ghcr.io/lizenzfass78851/docker-rtl-tcp | master | 📌 |
- It's needed to block certain kernel modules to get the RTL-SDR device work properly.
Place run the folowing command to create the
blacklist-rtl.conf
in your host/lib/modprobe.d/
folder:
echo -e 'blacklist dvb_usb_rtl28xxu\nblacklist rtl2832\nblacklist rtl2830' | tee /lib/modprobe.d/blacklist-rtl.conf
optional: if the container does not work
- Additionally, we need to set the correct permissions to the modules for allowing TCP messages. Place the
rtl_sdr.rules
file into your host/etc/udev/rules.d/
folder:
curl https://raw.githubusercontent.com/LizenzFass78851/docker-rtl-tcp/master/files/rtl_sdr.rules \
-o /etc/udev/rules.d/rtl_sdr.rules
-
Reboot your Device, this should only have to be done once.
-
To run with docker-compose
git clone https://github.com/LizenzFass78851/docker-rtl-tcp rtl-tcp --single-branch --depth 1
cd rtl-tcp
nano docker-compose.yml # if you want to override any default value
docker-compose up -d
- The server is listening on port
1234
, connect to it using your RTL-SDR client (i.e. SDRSharp) and the IP of the Device.
sdr://<your-hostname>:1234
- Enjoy and open an issue or collaborate with a PR if anything is not working as expected.