Skip to content

fix(sat): pass PLUTO_URI env var to Docker container#14

Open
hubble-art wants to merge 1 commit intomainfrom
fix/pass-pluto-uri-to-container
Open

fix(sat): pass PLUTO_URI env var to Docker container#14
hubble-art wants to merge 1 commit intomainfrom
fix/pass-pluto-uri-to-container

Conversation

@hubble-art
Copy link
Copy Markdown

Summary

  • Add pluto_uri parameter to start_container() and scan() that gets passed as the PLUTO_URI environment variable to the SDR container
  • Required on macOS where Docker Desktop cannot pass through USB devices and the PlutoSDR must be accessed over Ethernet (e.g. pluto_uri="ip:192.168.2.1")
  • If not provided, the container uses its built-in default

Usage

for pkt in sat.scan(pluto_uri="ip:192.168.2.1"):
    print(pkt)

Test plan

  • Verify scan() without pluto_uri still works (USB-attached PlutoSDR on Linux)
  • Verify scan(pluto_uri="ip:192.168.2.1") works on macOS with Ethernet-connected PlutoSDR

Made with Cursor

On macOS, Docker Desktop cannot pass through USB devices, so the
PlutoSDR must be accessed over Ethernet.  The SDR container reads
PLUTO_URI to know where to connect, but start_container() was not
forwarding it.

Add pluto_uri parameter to start_container() and scan() that gets
passed as the PLUTO_URI environment variable to the container.

Made-with: Cursor
@hubble-art hubble-art requested a review from buckleypaul March 31, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant