JM2005 Posted July 10, 2014 Share Posted July 10, 2014 Nice updates! I have a request if you could add needo plexWatch to your templates? Thanks! Quote Link to comment
ljm42 Posted July 10, 2014 Share Posted July 10, 2014 Great additions! Although I noticed the "my-" templates moved to the bottom of the list, would you mind moving those back to the top? Those are the ones we'll be use the most often. Thanks! Quote Link to comment
gfjardim Posted July 10, 2014 Author Share Posted July 10, 2014 Great additions! Although I noticed the "my-" templates moved to the bottom of the list, would you mind moving those back to the top? Those are the ones we'll be use the most often. Thanks! Let's open this for debate! Quote Link to comment
JustinChase Posted July 10, 2014 Share Posted July 10, 2014 Great additions! Although I noticed the "my-" templates moved to the bottom of the list, would you mind moving those back to the top? Those are the ones we'll be use the most often. Thanks! I agree, now that the list is long enough to require scrolling, having mine at the top is preferable. Quote Link to comment
JM2005 Posted July 10, 2014 Share Posted July 10, 2014 Great additions! Although I noticed the "my-" templates moved to the bottom of the list, would you mind moving those back to the top? Those are the ones we'll be use the most often. Thanks! Let's open this for debate! I agree lets have them at the top. Quote Link to comment
nacat78 Posted July 11, 2014 Share Posted July 11, 2014 Great additions! Although I noticed the "my-" templates moved to the bottom of the list, would you mind moving those back to the top? Those are the ones we'll be use the most often. Thanks! Let's open this for debate! I agree lets have them at the top. +1 But again just grateful that there is someone working on docker user interface and that there are templates to choose from. Quote Link to comment
dalben Posted July 11, 2014 Share Posted July 11, 2014 I tried to create a template last night for the werner xbmc docker. I got lost, dazed and confused. Is there an easy way to turn a command line into an xml ? Quote Link to comment
JM2005 Posted July 11, 2014 Share Posted July 11, 2014 Great additions! Although I noticed the "my-" templates moved to the bottom of the list, would you mind moving those back to the top? Those are the ones we'll be use the most often. Thanks! Let's open this for debate! I agree lets have them at the top. +1 But again just grateful that there is someone working on docker user interface and that there are templates to choose from. amen to that! Quote Link to comment
gfjardim Posted July 11, 2014 Author Share Posted July 11, 2014 Ok, let's do this: $ docker run -d --net=host --privileged -v /directory/with/xbmcdata:/opt/xbmc-server/portable_data wernerb/docker-xbmc-server:gotham <?xml version="1.0" encoding="utf-8"?> <Container> <Name>XBMCServer</Name> <Description> This will allow you to serve files through the XBMC UPnP Library to your UPnP client/players (such as Xbmc or Chromecast). Docker is used to compile and run the latest headless version of XBMC Gotham/Frodo. This also includes some custom patches that will fix crashes. See the FAQ section for details. </Description> <Registry> https://registry.hub.docker.com/u/wernerb/docker-xbmc-server/ </Registry> <Repository>wernerb/docker-xbmc-server:gotham</Repository> <BindTime>true</BindTime> <Privileged>true</Privileged> <Environment/> <Networking> <Mode>host</Mode> <Publish/> </Networking> <Data> <Volume> <HostDir>/mnt/user/appdata/XBMCServer</HostDir> <ContainerDir>/opt/xbmc-server/portable_data</ContainerDir> <Mode>rw</Mode> </Volume> </Data> </Container> See, easy as pie. Quote Link to comment
JM2005 Posted July 11, 2014 Share Posted July 11, 2014 Ok, let's do this: $ docker run -d --net=host --privileged -v /directory/with/xbmcdata:/opt/xbmc-server/portable_data wernerb/docker-xbmc-server:gotham <?xml version="1.0" encoding="utf-8"?> <Container> <Name>XBMCServer</Name> <Description> This will allow you to serve files through the XBMC UPnP Library to your UPnP client/players (such as Xbmc or Chromecast). Docker is used to compile and run the latest headless version of XBMC Gotham/Frodo. This also includes some custom patches that will fix crashes. See the FAQ section for details. </Description> <Registry> https://registry.hub.docker.com/u/wernerb/docker-xbmc-server/ </Registry> <Repository>wernerb/docker-xbmc-server:gotham</Repository> <BindTime>true</BindTime> <Privileged>true</Privileged> <Environment/> <Networking> <Mode>host</Mode> <Publish/> </Networking> <Data> <Volume> <HostDir>/mnt/user/appdata/XBMCServer</HostDir> <ContainerDir>/opt/xbmc-server/portable_data</ContainerDir> <Mode>rw</Mode> </Volume> </Data> </Container> See, easy as pie. You beat me to it! I was going to post the one I made few days back. Quote Link to comment
gfjardim Posted July 11, 2014 Author Share Posted July 11, 2014 Nice updates! I have a request if you could add needo plexWatch to your templates? Thanks! I didn't forget this! I've just tested it and will be included in the next update. Quote Link to comment
gfjardim Posted July 11, 2014 Author Share Posted July 11, 2014 You beat me to it! I was going to post the one I made few days back. It's easy, isn't it? After your first xml, it just flows. Quote Link to comment
JM2005 Posted July 11, 2014 Share Posted July 11, 2014 You beat me to it! I was going to post the one I made few days back. It's easy, isn't it? After your first xml, it just flows. Oh yeah its been fun testing them. Quote Link to comment
gfjardim Posted July 11, 2014 Author Share Posted July 11, 2014 UPDATE: Version 2014.07.10-1: - More two templates: plexWatch and XBMCServer; - User templates moved back to the top; - Fixed a bug about folders not being created properly. Quote Link to comment
JM2005 Posted July 11, 2014 Share Posted July 11, 2014 UPDATE: Version 2014.07.10-1: - More two templates: plexWatch and XBMCServer; - User templates moved back to the top; - Fixed a bug about folders not being created properly. Thanks for adding those! Quote Link to comment
dalben Posted July 11, 2014 Share Posted July 11, 2014 Thanks guys. I'll have a play tonight as I have the extra network settings in mine because I was having trouble reaching the webgui. Quote Link to comment
JM2005 Posted July 11, 2014 Share Posted July 11, 2014 Thanks guys. I'll have a play tonight as I have the extra network settings in mine because I was having trouble reaching the webgui. You talking about XBMC server GUI? Quote Link to comment
dalben Posted July 11, 2014 Share Posted July 11, 2014 Thanks guys. I'll have a play tonight as I have the extra network settings in mine because I was having trouble reaching the webgui. You talking about XBMC server GUI? Yeah. this is what I had to add: * Advanced: If you have problems reaching the web-server then xbmc is binding to the wrong address. Try adding the following after `--privileged`: `-e BIND_ADDR=ipaddress -e LD_PRELOAD=/opt/xbmc-server/bind.so` Quote Link to comment
JM2005 Posted July 11, 2014 Share Posted July 11, 2014 Thanks guys. I'll have a play tonight as I have the extra network settings in mine because I was having trouble reaching the webgui. You talking about XBMC server GUI? Yeah. this is what I had to add: * Advanced: If you have problems reaching the web-server then xbmc is binding to the wrong address. Try adding the following after `--privileged`: `-e BIND_ADDR=ipaddress -e LD_PRELOAD=/opt/xbmc-server/bind.so` Oh yeah I never had that problem. Quote Link to comment
archedraft Posted July 11, 2014 Share Posted July 11, 2014 I just started messing with docker today. So far I have installed plex and deluge and each goes OK; however, after a reboot I can no longer access plex or deluge and my syslog is telling me " emhttp: read_line: read_line: input line too long". I am assuming I am doing something wrong when installing the docker apps. Anyone have any ideas? P.S. - actually it looks like the apps are not starting. The logs tells me *** Shutting down runit daemon (PID ... *** Killing all processes... 2014/07/10 21:32:57 exec: "/sbin/my_init": permission denied 2014/07/10 21:38:27 exec: "/sbin/my_init": permission denied 2014/07/10 21:39:00 exec: "/sbin/my_init": permission denied 2014/07/10 21:39:03 exec: "/sbin/my_init": permission denied Quote Link to comment
nacat78 Posted July 11, 2014 Share Posted July 11, 2014 I just started messing with docker today. So far I have installed plex and deluge and each goes OK; however, after a reboot I can no longer access plex or deluge and my syslog is telling me " emhttp: read_line: read_line: input line too long". I am assuming I am doing something wrong when installing the docker apps. Anyone have any ideas? P.S. - actually it looks like the apps are not starting. The logs tells me *** Shutting down runit daemon (PID ... *** Killing all processes... 2014/07/10 21:32:57 exec: "/sbin/my_init": permission denied 2014/07/10 21:38:27 exec: "/sbin/my_init": permission denied 2014/07/10 21:39:00 exec: "/sbin/my_init": permission denied 2014/07/10 21:39:03 exec: "/sbin/my_init": permission denied That's the exact messages i was getting after messing with some permissions, after receiving those i had to reapply docker install and remove all images and containers to start over. - not saying that's what you did, but i have encountered the same errors Quote Link to comment
archedraft Posted July 11, 2014 Share Posted July 11, 2014 Yeah I think you're right. I messed with the permission config. I guess I'll start over. Quote Link to comment
ljm42 Posted July 11, 2014 Share Posted July 11, 2014 UPDATE: Version 2014.07.10-1: - More two templates: plexWatch and XBMCServer; - User templates moved back to the top; - Fixed a bug about folders not being created properly. Looks great! (we really need a "like" button) Quote Link to comment
NAS Posted July 11, 2014 Share Posted July 11, 2014 UPDATE: In a small demonstration of my gratitude, I made some changes last night, so version 2014.07.10 is out: - Added SickRage, Deluge and NZBGet templates; - TCP/UDP port protocols are now set by a select box, so are the Read/Write | Read Only modes for volume mappings (NAS suggestion); - Fixed (I hope) an issue discovered by nacat78; - Added and/or improved some descriptions with directions to help users setup correctly their fields (bjp999 suggestion); - Now the default directory for the configuration volume of each container is /mnt/user/appdata/{container name} (suggested by NAS); Again, thank you a lot! edit: fixed some credits (thank you bjp999) Nice work. I am really impressed how feature complete this is already. I will sticky your thread now as IMHO everyone who uses docker here should use it. Feature request: Allow users an option to read the dockerfile before they commit to a template. For example I haven't looked but I am betting XBMC server still uses Ubuntu 12.10 which no other docker will because it is EOL and out of support. There are obviously reasons for that but users should be able to make an informed choice about this stuff etc ahead of time and whilst we want to hide the sausage making by defauly it is always nice to offer a window to open to peek inside if someone want. Kudos again Quote Link to comment
dalben Posted July 11, 2014 Share Posted July 11, 2014 I hope LimeTech are aware of this thread and this work. They'd be wise to adopt this which would allow them to work on other stuff rather than re-inventing the wheel. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.