doctor
doctor
Diagnose your system environment for RF Swift compatibility. The doctor command performs a series of checks and reports the status of each component needed to run RF Swift containers.
Syntax
rfswift doctorWhat It Checks
| Check | What it verifies |
|---|---|
| Container engine | Docker or Podman is installed and detected |
| Engine service | The container engine daemon is running and reachable |
| Engine version | Reports the engine and API version |
| Docker permissions | Current user is in the docker group (Linux) |
| RF Swift images | RF Swift images are pulled and available locally |
| X11 display | DISPLAY is set and /tmp/.X11-unix socket exists |
| xhost | xhost command is installed for X11 forwarding |
| Audio system | PulseAudio or PipeWire is running |
| Audio TCP server | Audio server is listening on the configured TCP port |
| USB devices | /dev/bus/usb is present and accessible |
| Config file | Config file exists and has secure permissions |
| Kernel modules | Key kernel modules are loaded (USB, sound, Bluetooth, Wi-Fi) |
Status Icons
| Icon | Meaning |
|---|---|
✓ (green) |
Check passed |
! (yellow) |
Warning – functional but could be improved |
✗ (red) |
Check failed – something needs to be fixed |
- (gray) |
Skipped – not applicable on this platform |
Example Output
🩺 RF Swift Doctor
══════════════════════════════════════════════════════════
✓ Container engine Docker (docker)
✓ Engine service Running and reachable
✓ Engine version 27.3.1 (API 1.47)
✓ Docker permissions User 'user' is in docker group
✓ RF Swift images 3 RF Swift image(s) available
✓ X11 display DISPLAY=:0, X11 socket present
✓ xhost Installed
✓ Audio system PipeWire
! Audio TCP server Not reachable at localhost:34567 (run: rfswift host audio enable)
✓ USB devices /dev/bus/usb present (4 bus(es))
✓ Config file /home/user/.config/rfswift/config.ini
✓ Kernel modules Loaded: USB support, Sound/ALSA, Bluetooth, Wi-Fi/802.11
──────────────────────────────────────────────────────────
11 passed 1 warningsCommon Issues and Fixes
Container engine not found
# Install Docker
curl -fsSL https://get.docker.com | sh
# Or install Podman
sudo apt install podman # Debian/Ubuntu
sudo dnf install podman # Fedora/RHELUser not in docker group
sudo usermod -aG docker $USER
newgrp dockerAudio TCP server not reachable
The audio server TCP module needs to be loaded for container audio passthrough:
rfswift host audio enableX11 display not set
If you’re running headless or via SSH without X forwarding:
# Option 1: Use desktop mode instead
rfswift run -i sdr_full -n my_sdr --desktop
# Option 2: Forward X11 via SSH
ssh -X user@hostConfig file permissions
chmod 600 ~/.config/rfswift/config.iniNo RF Swift images
rfswift images pull -i penthertz/rfswift_noble:sdr_fullPlatform Notes
- Linux: All checks are performed
- macOS: Docker permissions and kernel module checks are skipped
- Windows/WSL: Checks for WSLg X11 socket and
usbipdavailability
Last updated on