SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker

Notices

SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-29-2019, 02:14 PM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 474
Docker/OpenDCT/Ubuntu

Im new to docker and need help installing OpenDCT docker container.

With the other docker containers, including SageTV I was able to find simple instructions like below to install. But I can't find any on the forums.

Can anybody point me in the right direction?

Thanks


Chris


HTML Code:
If you are running linux, you can pull the docker using
Code:
docker pull stuckless/sagetv-server-java8
To run it, you can use a command similar to...
Code:
docker run -d --name sagetv-server \
  -v /home/seans/unRAID/mnt/user/sagemedia:/var/media \
  -v /home/seans/unRAID/mnt/user/mediaext:/var/mediaext \
  -v /home/seans/unRAID/mnt/user/apps/sagetv3:/opt/sagetv \
  -v /home/seans/unRAID:/unraid \
  --net host \
  --env PUID=1000 \
  --env PGID=1000 \
  --env VIDEO_GUID=19 \
  --env OPT_GENTUNER=Y \
  --env OPT_COMMANDIR=Y \
  --env OPT_COMSKIP=Y \
  --env JAVA_MEM_MB=768 \
  --env VERSION=latest \
  --env OPT_SETPERMS=Y \
  --privileged \
  -t -i stuckless/sagetv-server-java8
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #2  
Old 07-30-2019, 03:14 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
I looked in the OpenDCT docker unRAID configuration xml that lists the volumes and the environment variables that it exposes, and there isn't much to configure.

https://github.com/CraziFuzzy/opendc...dct-docker.xml

The command you posted the -v are volumn mappings and the -env are environment variables, so, if you look at the xml posted, you should be able to create a command using that information.
Reply With Quote
  #3  
Old 07-30-2019, 06:03 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 474
Quote:
Originally Posted by stuckless View Post
I looked in the OpenDCT docker unRAID configuration xml that lists the volumes and the environment variables that it exposes, and there isn't much to configure.

https://github.com/CraziFuzzy/opendc...dct-docker.xml

The command you posted the -v are volumn mappings and the -env are environment variables, so, if you look at the xml posted, you should be able to create a command using that information.
Thanks!

Ill Post the working config for other copy and pasters like me!

Chris
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #4  
Old 07-30-2019, 08:17 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 474
Ok Here what seems to run the OpenDCT in docker. IF there any environment variables im missing let me know

Chris


Pull the Image

HTML Code:
docker pull crazifuzzy/opendct

Run the Docker and set the Variables

HTML Code:
docker run -d --name crazifuzzy-opendct \
  -v /mnt/user/appdata/opendct/etc:/etc/opendct \
  -v /mnt/user/appdata/opendct/log:/var/log/opendct \
  -v /mnt/user/appdata/opendct/opt:/opt/opendct\
   --net host \
  -t -i crazifuzzy/opendct
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV/OpenDCT Docker 127.0.0.1:9000 Question KeithAbbott SageTV for unRAID/Docker 1 04-11-2017 07:59 PM
OpenDCT on Docker not finding HDHR BobbyDing SageTV for unRAID/Docker 43 03-28-2017 06:40 AM
OpenDCT on unRaid Docker failing amg SageTV for unRAID/Docker 4 03-27-2017 09:41 AM
Need help with OpenDCT on Docker willieb SageTV for unRAID/Docker 5 03-07-2017 07:36 AM
Sage 9 on Ubuntu 16.04 w/OpenDCT chairmanmao SageTV Github Development 24 11-21-2016 09:35 PM


All times are GMT -6. The time now is 12:22 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.