Docker container in Kodi - manual - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Docker container in Kodi - manual (/showthread.php?tid=377743) |
Docker container in Kodi - manual - andrkac - 2024-05-30 I've created python script which uses some dependencies, not available in Kodi/Libreelec. As far as I know it possible to run it inside Kodi/Libreelec using docker container. But... I completely don't know how to do it. Are somewhere any instructions for that? Including basics of container creation if possible? RE: Docker container in Kodi - manual - pkscout - 2024-05-30 You can't really run Kodi in a container, or rather it would be very complicated to give the container access to the full audio and video subysystems of your host. It wouldn't be a good project for someone not familiar with containers. You can run a headless version in a container using: https://forum.kodi.tv/showthread.php?tid=370583 And there are some instructions for getting it setup. I don't see how running it in a container is going to help with your dependency issues though. What python module are you trying to use that isn't available? RE: Docker container in Kodi - manual - andrkac - 2024-05-30 Maybe my question was not enough clear. I don't want to run KODI in container. I read 'somewhere' that its possible to pack my script with its dependencies into docker container and run this container inside of Kodi. Is that right? My script drives basic voice control to Kodi (via json-rpc) and some other home devices (via mqtt). I can run it on my laptop, but I want it to work even if laptop is turned off. It imports speech_recognition, gtts (both are google services related), pygame, io, paho... Those modules also import others. And the list will be updated some day, because I want to switch to piper/whisper instead of google. RE: Docker container in Kodi - manual - pkscout - 2024-05-31 Nope, that's not right. If you want to run something from Kodi, it has to be an addon, not a containerized script. If you want to run Docker on whatever machine you have Kodi on, then you need to find a forum for the OS and ask them how to run Docker. That is well outside the scope of this forum. RE: Docker container in Kodi - manual - jjd-uk - 2024-06-01 Libreelec has docker support built in as it is a lightweight OS. So you're probably best in asking over at the Libreelec forum how to make use of it. RE: Docker container in Kodi - manual - jjd-uk - 2024-06-01 From a quick Google search https://wiki.libreelec.tv/installation/docker https://forum.libreelec.tv/thread/23350-how-to-run-docker-containers/ https://forum.libreelec.tv/thread/28350-customized-docker-images/ |