Sample Header Ad - 728x90

Can't Connect to WayDroid Containers in LXD Using ADB

1 vote
0 answers
46 views
I'm trying to use ADB (Android Debug Bridge) with WayDroid running inside LXD containers, but it's not working. My setup: I have WayDroid running inside LXD containers. Android seems to boot properly and the system runs. However, I can't get ADB to connect to the WayDroid instance. ADB just doesn't detect the device. What I've tried: Running adb devices from both the host and inside the container — nothing shows up. Tried using adb tcpip and adb connect, but no success. Enabled security.nesting=true and security.privileged=true for the container. Experimented with different network modes (bridged, NAT, etc.). My questions: How do I get ADB to connect to a WayDroid instance inside an LXD container? Do I need to expose a specific port or use a special network setup? Would using a microVM instead of a container solve this issue? Any help or example configs would be really appreciated. Thanks
Asked by Raoul Pinel (11 rep)
Jun 27, 2025, 07:24 AM
Last activity: Jun 27, 2025, 03:48 PM