tvheadend master using lightweight Alpine Linux container (official)
4.3K
Run tvheadend from a docker container
Key features of this repository:
To use this package you must ensure the following:
git clone https://github.com/hobbsAU/docker-tvheadend.git
cd docker-tvheadend
make run
docker pull hobbsau/tvheadend
$ make run
$ make stop
$ make start
$ make clean
$ make build
First let's setup the data container that will map the config directory from the host to the container as well as the recordings directory. This container will provide persistent storage.
$ docker create \
--name tvheadend-data \
-v <hostdir>:/config \
-v <hostdir>:/recordings \
hobbsau/tvheadend \
/bin/true
Example using my host and the /srv/tvheadend location on my host:
$ sudo docker create --name tvheadend-data -v /srv/tvheadend/config:/config -v /srv/tvheadend/recordings:/recordings hobbsau/tvheadend
Next we run the tvheadend-service and this will automatically map the volumes within the new container.
$ docker run -d \
--restart=always \
--net="host" \
--volumes-from tvheadend-data \
--name tvheadend-service \
hobbsau/tvheadend
You should see two new containers in the docker listing:
$ docker ps -a
The source repo is linked to dockerhub using autobuild. Any push to this repo will auto-update the docker image on docker hub.
Content type
Image
Digest
Size
29.1 MB
Last updated
over 7 years ago
docker pull hobbsau/tvheadend