Skip to content

XavierTolza/kodi-docker-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kodi-docker-gui

Runs kodi GUI from a docker container. Please note that this is a remarke from leandrocostasouza

Building

docker build -t kodi-docker-gui .

First run

Prior first start, allow xhost:

xhost +local:docker

Docker Compose

version: "2.0"
services:
  kodi:
    image: xtolza/kodi-docker-gui
    environment:
      - DISPLAY
    ports:
      - 8080:8080
    volumes:
      - <path to your storage>:/home/$USER
      - /etc/group:/etc/group:ro
      - /etc/passwd:/etc/passwd:ro
      - /etc/shadow:/etc/shadow:ro
      - /etc/sudoers.d:/etc/sudoers.d:ro
      - /tmp/.X11-unix:/tmp/.X11-unix:rw

A docker-compose.yml file is provided, check and edit the .env file when using it.

Command-line

docker run -it --env="DISPLAY" --volume="<path to your storage>:/home/$USER" --volume="/etc/group:/etc/group:ro" --volume="/etc/passwd:/etc/passwd:ro" --volume="/etc/shadow:/etc/shadow:ro" --volume="/etc/sudoers.d:/etc/sudoers.d:ro" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" xtolza/kodi-docker-gui

About

Runs kodi GUI from a docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published