Public Repository

Last pushed: 2 years ago
Short Description
Kodi (ex XBMC) docker
Full Description

Sample systemd units:

kodi.service:

[Unit]
Description=Kodi
After=x@0
Requires=x@0

[Service]
ExecStartPre=-/usr/bin/docker kill kodi
ExecStartPre=-/usr/bin/docker rm   kodi
ExecStart=/usr/bin/docker run --name kodi --rm -it --privileged --net=host -v /home/kodi-unstable:/home/kodi -v /tmp:/tmp -v /path/to/media:/media -e DISPLAY=:0 mcluseau/kodi:unstable
ExecStop=/usr/bin/docker stop kodi
Restart=always

[Install]
WantedBy=multi-user.target

x@.service:

[Unit]
Description=X

[Service]
ExecStart=/usr/bin/X :%i
Restart=always

[Install]
WantedBy=multi-user.target
Docker Pull Command
Owner
mcluseau