• This repository has been archived on 24/Feb/2022
  • Stars
    star
    122
  • Rank 281,945 (Top 6 %)
  • Language
    Dockerfile
  • License
    GNU General Publi...
  • Created over 8 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DEPRECATION NOTICE

This image is deprecated. We will not offer support for this image and it will not be updated. This project is no longer maintained.

linuxserver.io

The LinuxServer.io team brings you another container release featuring easy user mapping and community support. Find us for support at:

  • forum.linuxserver.io
  • IRC on freenode at #linuxserver.io
  • Podcast covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!

linuxserver/kodi-headless

Docker PullsDocker StarsBuild Status

A headless install of kodi in a docker container, most useful for a mysql setup of kodi to allow library updates to be sent without the need for a player system to be permanently on.

kodi

Usage

docker create --name=kodi-headless \
-v <path to data>:/config/.kodi \
-e PGID=<gid> -e PUID=<uid> \
-e TZ=<timezone> \
-p 8080:8080 \
-p 9090:9090 \
-p 9777:9777/udp \
linuxserver/kodi-headless

You can choose between ,using tags, various main versions of kodi.

Add one of the tags, if required, to the linuxserver/kodi-headless line of the run/create command in the following format, linuxserver/kodi-headless:Krypton

Tags

  • Helix
  • Isengard
  • Jarvis
  • Krypton
  • Leia : current default branch.

Parameters

  • -p 8080 - webui port
  • -p 9090 - websockets port
  • -p 9777/udp - esall interface port
  • -v /config/.kodi - path for kodi configuration files
  • -e PGID for GroupID - see below for explanation
  • -e PUID for UserID - see below for explanation
  • -e TZ - for timezone information eg Europe/London, etc

It is based on ubuntu bionic with s6 overlay, for shell access whilst the container is running do docker exec -it kodi-headless /bin/bash.

User / Group Identifiers

Sometimes when using data volumes (-v flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" β„’.

In this instance PUID=1001 and PGID=1001. To find yours use id user as below:

  $ id <dockeruser>
    uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)

Setting up the application

Mysql/mariadb settings are entered by editing the file advancedsettings.xml which is found in the userdata folder of your /config/.kodi mapping. Many other settings are within this file also.

The default user/password for the web interface and for apps like couchpotato etc to send updates is kodi/kodi.

If you intend to use this kodi instance to perform library tasks other than merely updating, eg. library cleaning etc, it is important to copy over the sources.xml from the host machine that you performed the initial library scan on to the userdata folder of this instance, otherwise database loss can and most likely will occur.

Rar integration with the Leia branch is now handled by an addon, it is compiled with this build, but you will need to enable it, if required, in the settings section of the webui.

Info

  • Shell access whilst the container is running: docker exec -it kodi-headless /bin/bash
  • To monitor the logs of the container in realtime: docker logs -f kodi-headless

Credits

For inspiration, and most importantly, the headless patches without which none of this would have been possible.

Various other members of the xbmc/kodi community for advice.

Versions

  • 07.01.20: Bump Leia to 18.5.
  • 23.06.19: Bump Leia to 18.4.
  • 23.04.19: Bump Leia to 18.2.
  • 09.03.19: Build vfs.libarchive and vfs.rar addons.
  • 08.03.19: Make Leia default branch, using patched "headless" build.
  • 30.01.19: Bump Leia branch to release ppa.
  • 03.09.18: Add back libnfs dependency.
  • 31.08.18: Rebase to ubuntu bionic, use buildstage and add info about websockets port.
  • 04.01.18: Deprecate cpu_core routine lack of scaling.
  • 14.12.17: Fix continuation lines.
  • 17.11.17: Bump Krypton to 17.6.
  • 24.10.17: Bump Krypton to 17.5.
  • 22.08.17: Bump Krypton to 17.4.
  • 25.05.17: Bump Krypton to 17.3.
  • 23.05.17: Bump Krypton to 17.2.
  • 23.04.17: Refine cmake, use cmake ppa and take out uneeded bootstrap line.
  • 22.02.17: Switch to using cmake build system.
  • 22.02.17: Bump Krypton to 17.1.
  • 22.02.17: Change default webui user/pw to kodi/kodi.
  • 05.02.17: Move Krypton to default branch.
  • 20.09.16: Add kodi-send and fix var cache samba permissions.
  • 10.09.16: Add layer badge to README..
  • 02.09.16: Rebase to alpine linux.
  • 13.03.16: Make kodi 16 (jarvis) default installed version.
  • 21.08.15: Initial Release.

More Repositories

1

Heimdall

An Application dashboard and launcher
PHP
7,126
star
2

docker-wireguard

Dockerfile
2,471
star
3

docker-swag

Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.
Dockerfile
2,461
star
4

docker-code-server

Dockerfile
1,415
star
5

docker-webtop

Ubuntu, Alpine, Arch, and Fedora based Webtop images, Linux in a web browser supporting popular desktop environments.
Dockerfile
1,275
star
6

reverse-proxy-confs

These confs are pulled into our SWAG image: https://github.com/linuxserver/docker-swag
1,229
star
7

docker-plex

Dockerfile
992
star
8

docker-unifi-controller

Dockerfile
844
star
9

docker-mods

Documentation and Examples of base container modifications
Dockerfile
808
star
10

docker-letsencrypt

DEPRECATED: Please use linuxserver/swag instead
Dockerfile
727
star
11

docker-sonarr

Dockerfile
672
star
12

docker-calibre-web

Dockerfile
663
star
13

budge

JavaScript
579
star
14

docker-nextcloud

Dockerfile
571
star
15

docker-jellyfin

Dockerfile
563
star
16

docker-bookstack

A Docker container for the BookStack documentation wiki
Dockerfile
556
star
17

docker-qbittorrent

Dockerfile
554
star
18

docker-radarr

Dockerfile
501
star
19

docker-transmission

Dockerfile
486
star
20

docker-openssh-server

Dockerfile
473
star
21

docker-emulatorjs

Web based retro emulation frontend with rom scanning and automated art ingestion.
Dockerfile
439
star
22

docker-unifi-network-application

Dockerfile
419
star
23

docker-jackett

Dockerfile
346
star
24

emulatorjs

Self hosted web based retro emulation front end with rom and art management.
JavaScript
331
star
25

docker-calibre

Dockerfile
291
star
26

docker-smokeping

Shell
287
star
27

Heimdall-Apps

Apps for Heimdall
PHP
283
star
28

docker-heimdall

Dockerfile
282
star
29

docker-grocy

A container for grocy - the ERP application for your kitchen https://grocy.info
Dockerfile
256
star
30

docker-prowlarr

Docker image for Prowlarr/Prowlarr
Dockerfile
249
star
31

docker-syncthing

Dockerfile
235
star
32

docker-deluge

Dockerfile
223
star
33

docker-netbootxyz

Dockerfile
222
star
34

docker-kasm

Kasm Workspaces platform provides enterprise-class orchestration, data loss prevention, and web streaming technology to enable the delivery of containerized workloads to your browser.
Shell
218
star
35

docker-sabnzbd

Dockerfile
210
star
36

docker-duplicati

Dockerfile
207
star
37

docker-bazarr

Dockerfile
200
star
38

docker-rdesktop

Dockerfile
191
star
39

docker-tautulli

Dockerfile
184
star
40

docker-duckdns

Shell
183
star
41

docker-mariadb

Dockerfile
181
star
42

docker-homeassistant

Dockerfile
170
star
43

docker-lidarr

Dockerfile
169
star
44

docker-healthchecks

Dockerfile
163
star
45

docker-baseimage-kasmvnc

Base Images for remote web based Linux desktops using KasmVNC for many popular distros.
Shell
159
star
46

docker-couchpotato

Dockerfile
153
star
47

davos

Web-based FTP automation for Linux servers.
Java
151
star
48

docker-rutorrent

DEPRECATED
PHP
151
star
49

docker-ombi

Dockerfile
147
star
50

docker-nzbget

Dockerfile
140
star
51

docker-tvheadend

Dockerfile
134
star
52

docker-freshrss

HTML
124
star
53

docker-baseimage-alpine

Dockerfile
124
star
54

docker-docker-compose

Shell
123
star
55

docker-nginx

Dockerfile
122
star
56

Clarkson

Web-based fuel logging dashboard
TypeScript
120
star
57

docker-firefox

Dockerfile
113
star
58

fleet

Status and image fleet metadata management application for Docker images
Java
110
star
59

docker-ffmpeg

Dockerfile
109
star
60

docker-ddclient

Dockerfile
106
star
61

docker-piwigo

Dockerfile
104
star
62

docker-resilio-sync

Dockerfile
102
star
63

docker-snipe-it

Alpine/Nginx container for the Asset Management software Snipe-IT
Dockerfile
101
star
64

docker-baseimage-guacgui

Dockerfile
98
star
65

docker-beets

Dockerfile
97
star
66

docker-baseimage-ubuntu

Dockerfile
97
star
67

docker-daapd

Dockerfile
96
star
68

docker-readarr

Container for readarr.com
94
star
69

docker-wireshark

Dockerfile
87
star
70

docker-openvscode-server

Dockerfile
83
star
71

docker-dokuwiki

Dockerfile
82
star
72

docker-ubooquity

Dockerfile
82
star
73

docker-emby

Dockerfile
80
star
74

docker-overseerr

Dockerfile
77
star
75

docker-lazylibrarian

Dockerfile
77
star
76

heimdalljs

JavaScript
77
star
77

docker-baseimage-rdesktop-web

Custom all in one container for running GUI apps from a web browser
Dockerfile
73
star
78

docker-netbox

Python
72
star
79

docker-pyload-ng

Dockerfile
72
star
80

docker-mastodon

Dockerfile
71
star
81

gclient

NodeJS application replacement for the default Guacamole Client
JavaScript
66
star
82

docker-ldap-auth

Python
66
star
83

docker-librespeed

HTML
66
star
84

docker-steamos

Vanilla Arch modified into SteamOS with web based Desktop access, useful for remote play and lower end games
Dockerfile
66
star
85

docker-tt-rss

Dockerfile
65
star
86

docker-libreoffice

Dockerfile
64
star
87

docker-wikijs

Dockerfile
64
star
88

docker-diskover

A Docker container for the Diskover space mapping application
Dockerfile
64
star
89

docker-nzbhydra2

Dockerfile
61
star
90

docker-organizr

DEPRECATED
Dockerfile
61
star
91

docker-budge

Dockerfile
56
star
92

docker-remmina

Dockerfile
56
star
93

docker-projectsend

Dockerfile
55
star
94

docker-scrutiny

Dockerfile
54
star
95

docker-endlessh

Dockerfile
53
star
96

docker-snapdrop

HTML
52
star
97

docker-chromium

Web accessible Chromium inside an Alpine Container
Dockerfile
52
star
98

docker-paperless-ngx

Dockerfile
48
star
99

docker-headphones

Dockerfile
48
star
100

docker-papermerge

Dockerfile
47
star