'Docker with two Internet connections on Raspberry Pi 3b+

i want to add some passive income to my Raspberry Pi 3b+. The plan was to use honeygain and peer2profit. Since i can use my neighbours internet connection for that too, it would be useful to setup two docker containers for each honeygain and peer2profit. One that connects to my internet connection via LAN and the other over WLAN to my neighbours internet connection.

The Pi is connected to both networks, but i can't get wlan0 to work in docker. --device=wlan0 doesn't work either.

As i am new to Linux and especially docker, some help would be very much appreciated.

-Ben



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source