Greetings,
I’m looking for a way to run eBlocker inside a Docker container.
I know there’s a VM Edition available for both VirtualBox and VMware, but that’s full virtualization - not Dockerization.
I even tried converting the VM image into a Docker container using an OVA-to-Docker converter, but I hit a roadblock due to missing dependencies (qemu-utils and parted).
I also tried using the pre-made unclejay/eblocker image, which I thought would be exactly what I needed, but the console logs showed Maven failing to fetch the correct dependencies, so that attempt failed as well.
I have an ASUSTOR NAS, where I’d love to run eBlocker inside a container.
At another location, I’m running a Portainer instance with quite a few containers, and I’d also like to have eBlocker there.
Any hints or solutions would be greatly appreciated.
Gratitude!
Unfortunately building a docker image needs some deeper knowledge. Due to heavy use of network "tricks" a simple image convert will not work.
If you are a Docker expert come join the team and make the docker image happen.
Unfortunately I have no idea about docker, but for sure there are people (like @bpr) to help you into the right direction if you feel tackling this issue...
THX!
I think the main problem is that eBlocker is designed to have full control over the network interface. It sends and receives "low-level" packets like ARP, DHCP, etc. For example, it must be able to receive ARP packets to detect any devices in the home network.
Docker on the other hand usually only allows very specific ports / network connections.
So eBlocker in a Docker container would need its own virtual network interface with its own MAC address (similar to the bridged network interface it uses in the VM version).
Maybe this could be set up with Docker's Macvlan driver:
https://docs.docker.com/engine/network/drivers/macvlan/
But nobody has tried that to my knowledge.