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 honestly don’t know where to start.
As i am new to Linux and especially docker, some help would be very much appreciated.


Edit: I already got my own two instances of there programs running on my Network. The problem is that I don’t know how to setup a container to talk to the wlan0 interface only.

I would have suggested “MacVLAN” but that doesn’t work with Wifi. My second idea is IPVLAN

I am not sure if it works.