How can I install KODI (Docker version) on Ubuntu Server?
#1
On my ubuntu server, I want to configure some services using only theirs docker images, one of them is Kodi. I installed and run it using the following commands:

Code:
root@server:/home/user# docker pull celedhrim/kodi-server
    
root@server:/home/user# sudo docker image ls
REPOSITORY              TAG       IMAGE ID       CREATED        SIZE
celedhrim/kodi-server   latest    ba83bcb40db1   7 months ago   988MB

root@server:/home/user# docker run -d --restart="always" --net=host -v /path/to/kodi-server-profile:/usr/share/kodi/portable_data celedhrim/kodi-server

root@server:/home/user# sudo netstat -tulpn | grep LISTEN
tcp        0      0 127.0.0.1:9090          0.0.0.0:*               LISTEN      2811/kodi.bin <--- KODI!!      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2042/sshd: /usr/sbi 
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      738/systemd-resolve 
tcp6       0      0 :::22                   :::*                    LISTEN      2042/sshd: /usr/sbi 


now, from an another PC I tried to get access via HTTP and HTTPS, but it didn't work (for example: https://SERVER_IP:9090). the web page returned me a "connection refused" error. what am I doing wrong?

in the "hub docker" there is a guide, but I can't understand the first points. I followed it only from the third point because, to be honest, I really don't understad the first two ones.
https://hub.docker.com/r/celedhrim/kodi-server
Reply
#2
Suggest you look at this Docker instead - well maintained and easy to get going:
https://github.com/matthuisman/docker-kodi-headless

(The one you're linking to hasn't been updated past Matrix)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#3
can you explain how to install it? I tried to use both docker and podman but none of them worked:

Code:
root@server:/etc/netplan# sudo docker pull matthuisman/kodi-headless
Using default tag: latest
Error response from daemon: manifest for matthuisman/kodi-headless:latest not found: manifest unknown: manifest unknown

root@server:/etc/netplan# podman pull docker.io/matthuisman/kodi-headless:latest
Trying to pull docker.io/matthuisman/kodi-headless:latest...
Error: initializing source docker://matthuisman/kodi-headless:latest: reading manifest latest in docker.io/matthuisman/kodi-headless: manifest unknown: manifest unknown

I'm new with docker/podman, .. I stuedied a little bit, and I know how they work but, uff.. Kodi is so hard to implement!
I just wanna use Kodi in a container in order to centralize my videos in a single solution (my ubuntu server) and get access remotely. is it possible?
Reply

Logout Mark Read Team Forum Stats Members Help
How can I install KODI (Docker version) on Ubuntu Server?0