Public | Automated Build

Last pushed: 2 years ago
Short Description
XBMC Headless Server (Gotham 13.2)
Full Description


Used wernerb's xbmc docker to create a more compact docker of headless gotham based xbmx and just adapted it a little to suit unraid environment.

Pull the git or download the zip and then to build

docker build --rm=true -t $(whoami)/docker-xbmc-server .

to run

docker run -d --net=host -e MYSQLip=\<yourhostip\> -e MYSQLport=\<yourhostport\> -e MYSQLuser=\<databaseusername\> -e MYSQLpass=\<databasepassword\> --privileged -v \<local folder for storing config\>:/root.xbmc $(whoami)/docker-xbmc-server

variables are

MYSQLip : MYSQL host, must be ipaddress and not hostname<br>
MYSQLport : port for MYSQL host (usually 3306)<br>
MYSQLuser : user for xbmc mysql <br>
MYSQLpass : password for xbmc mysql<br>

/root/.xbmc is config folder within the image.

Docker Pull Command
Source Repository

Comments (4)
2 years ago

Actually he's got it wrong, on second look. You can't specify hostname which means a linked container (ie a compose app) won't work.

2 years ago

He has it set up right. SQL should NOT be part of the app image unless its a separate tag just for testing.

Container linking and compose exist for a reason. Splitting your Redis and SQL into separate containers will make your life so much better.

3 years ago

you can use a mysql setup

instructions here for various OS's

i'm not adding mysql to this container though.

3 years ago

Hi, is it possible that you add the db please?