https://github.com/logantgt/EcpEmuServer
EcpEmuServer is a small ASP.NET application which allows you to add an emulated Roku ECP (external control protocol) device to your compatible universal remote in order to trigger webhooks.
Discussion about this container and thank to erdoking: logantgt/EcpEmuServer#7
This is a Dockerfile to create a Docker image to run EcpEmuServer
EcpEmuServer and Roku use Multicast to discover object, so the container must be binded to host network in order to do the trick.
- moby/libnetwork#2397 (comment)
- https://stackoverflow.com/questions/42422406/receive-udp-multicast-in-docker-container So only one istance of EcpEmuServer can be spinned up on a single docker/IP Address
On a docket server clone this repository and run:
docker build -t docker-ecpemuserver .
In order to make EcpEmuServer configurable, a couple of file mapping are available. Following a full example:
docker run -d \
--name EcpEmuServer \
--net=host \
--restart=unless-stopped \
-v /your/path/to/EcpEmuServer/devicename:/var/EcpEmuServer/devicename \
-v /your/path/to/EcpEmuServer/rules.xml:/var/EcpEmuServer/rules.xml \
docker-ecpemuserver:latest
Container Logs are available with this command:
docker logs EcpEmuServer