mythtv-backend with database and X11 forwarding for running mythtv-setup
336
This is a docker image for running a MythTV backend server including database. It is based on the mythtv-backend image created by apnar. Key differences are:
docker network create --driver=bridge \
-o "com.docker.network.bridge.name=mynet"
-o parent=eth0 \
--subnet=192.168.2.0/24
mynet
sudo iptables -A FORWARD -i eth0 -o mynet -j ACCEPT
sudo iptables -A FORWARD -i mynet -o eth0 -j ACCEPT
docker run -d
--name=mythtv-backend \
--net=mynet \
-h mythtv-backend \
-v /etc/localtime:/etc/localtime:ro \
-v <database directory>:/var/lib/mysql \
-v <recordings directory>:/mnt/recordings \
vandrham/mythtv-backend
If no database is present in the database directory, a new one will be created. This may take a few seconds.
Inspect the output of docker logs mythtv-backend to see if the inital setup has finished.
Once the container is started, mythtv-setup can be started with the following command:
ssh -X [email protected] /usr/bin/mythtv-setup
The password for the mythtv user is set to mythtv
In mythtv-setup 'General / Host Address Backend Setup', make sure to enable both 'Allow Connections from all Subnets' and 'Listen on All IP Addresses'. These settings are needed if you want to connect a mythtv-frontend running outside of the docker network
Content type
Image
Digest
Size
371 MB
Last updated
almost 5 years ago
docker pull vandrham/mythtv-backend