![]() |
|
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. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Any tips on working with docker containers
I have created a file called sage.sh which contains:"docker exec -it stuckless-sagetv-server-java8 bash" to facilitate getting to a bash prompt in my SageTV container.
Does anyone have any tips on copying files from a Windows or Linux PC into a docker container? For now in Windows I am copying files to a temp folder that I have set up in the Sage server folder. So this file in Windows/samba is \\server\appdata\sagetv\server\temp and in my container that maps to \opt\sagetv\server\temp. Is that the best way to do this or is there a better way? I often use Notepad++ in Windows to edit files on a Linux server using the NppFTP functionality as described here. Is there any way to edit files within a docker container like this?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
||||
|
||||
I have never felt the need to copy files into a container, because it wouldn't persist anyway.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#3
|
||||
|
||||
what is it that you are needing to copy into the container?
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
|||
|
|||
Don't you need to copy the lirc configuration files into the container or am I doing this wrong? I thought that those files are in the container in /etc/lirc? Or do they go outside of the container in the core unRAID area? That could be my problem.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#5
|
||||
|
||||
you can place hardware.conf, lircd.conf, and gentuner.lirc in the appdata/sagetv/server/lirc.d folder, and the docker container startup scripts will copy them to the right place in the virtual filesystem when the container is started.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#6
|
||||
|
||||
Quote:
Quote:
https://github.com/stuckless/sagetv-...ase/OPTIONS.md
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#7
|
|||
|
|||
Quote:
That is kind of a slow process isn't it as the docker takes a minute or two to start up completely. That's not an issue if everything works correctly on the first go, but if you are having to futz around that could take a long time. Or could you make changes inside the container and then recopy back to this folder once you have everything working.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#8
|
||||
|
||||
Quote:
If you edit inside the container then you need to make sure that you are restarting the lirc service correctly to pick up the changes, etc.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
proper output of 6ch AAC audio in MP4 containers | benjatelcom | SageTV Software | 0 | 12-21-2010 11:34 PM |
Current BKM for Blu-ray containers now that SageTV does Bluray | jmv | SageTV HD Theater - Media Player | 12 | 08-19-2009 11:48 AM |
How do we request changes to the api/containers? | PLUCKYHD | SageTV Studio | 1 | 06-03-2009 02:49 PM |
Playing MP4 containers with DirectShow, which codecs work? | phelme | SageTV Software | 1 | 03-08-2009 08:06 PM |
h264 videos in .ts containers -- problems | horseflesh | SageTV Software | 2 | 01-20-2007 02:35 AM |