Jump to content

binhex

Community Developer
  • Posts

    7,921
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by binhex

  1.  

     

    Kitematic will get you by, but it'd be even better if Microsoft developed an interoperable container platform based on the NT kernel so we could truly have universal application support for docker beyond just Linux. I know I know, this might be a long shot, but a guy can dream can't he?!

     

    your aware microsft is including native support for docker (no vm cleverness) in windows 10 server though right?, albeit the microsoft version of docker :-)

     

    http://www.techradar.com/news/software/operating-systems/docker-on-windows-server-how-will-it-work--1275009

     

    Hmm, I was under the impression Microsoft was only adding support to run Docker on Microsoft similar to kitematic for Mac...where the containers were still Linux only.  If I misunderstood that, and they are really just porting the tech to support Windows apps in containers, then that is awesome!  We could probably do that with unRAID then where you create a Windows 10 VM and run containers inside it for Windows apps!!

     

    Jonp, Remember this is for Windows 10 Server. Cost will be high!

    Aww shucks. That sucks.

     

    just to confirm though, we are talking NATIVE support for docker here, no under the hood trickery with running linux in a vm on windows, however as rightly said there would a licence cost for the server edition, and it would of course be "microsoft's docker" :-), who knows maybe microsoft will surprise everybody and cut the cost significantly for the server product, hell everybody knows microsoft is now playing catchup with the kool kids, they go a lot og wooing to do :-)

  2. Ok, yes definitely. That does happen when you are adding a new container with ports defined in the XML template. It appears that when you edit an existing container though, we let folks edit the container port. Probably shouldn't do that. Will discuss with Eric as this may just be a bug.

     

    perfect!, cheers jonp!, and def like your suggestion too of updating container info for existing user containers when the docker template changes, this would of helped me out a few times in the past, as i added additional env vars and then had to talk users through manually adding it in.

    So what should happen if a change you make to the master template conflicts with a user defined template setting?

     

    i think it should only add an entry if it doesnt exist, if there is a conflict it should skip, best not to annoy the end user by modifying an entry in the container, otherwise say you changed the placeholder text for the host path for the volume mapping to "please define me", and then pushed the change, in this scenario it would overwrite the existing host path and blow up the perfectly working container.

    Can you put that in a feature request on the roadmap forum for me?  I will make sure it gets attention.

     

    sure i can jonp, no probs

  3. Ok, yes definitely. That does happen when you are adding a new container with ports defined in the XML template. It appears that when you edit an existing container though, we let folks edit the container port. Probably shouldn't do that. Will discuss with Eric as this may just be a bug.

     

    perfect!, cheers jonp!, and def like your suggestion too of updating container info for existing user containers when the docker template changes, this would of helped me out a few times in the past, as i added additional env vars and then had to talk users through manually adding it in.

    So what should happen if a change you make to the master template conflicts with a user defined template setting?

     

    i think it should only add an entry if it doesnt exist, if there is a conflict it should skip, best not to annoy the end user by modifying an entry in the container, otherwise say you changed the placeholder text for the host path for the volume mapping to "please define me", and then pushed the change, in this scenario it would overwrite the existing host path and blow up the perfectly working container.

  4. Ok, yes definitely. That does happen when you are adding a new container with ports defined in the XML template. It appears that when you edit an existing container though, we let folks edit the container port. Probably shouldn't do that. Will discuss with Eric as this may just be a bug.

     

    perfect!, cheers jonp!, and def like your suggestion too of updating container info for existing user containers when the docker template changes, this would of helped me out a few times in the past, as i added additional env vars and then had to talk users through manually adding it in.

  5. Hmm, sounds more like something we need to better manage with XML templates, right?  E.g. when a containers docker file is changed to reflect new "expose" ports, the template for that container should be updated as well?  Let me know if I'm missing something here.

     

    yes def that as well!!, but i think the suggestion justinchase was making was to prevent the user from changing the container port number as defined by the docker template when they are editing, this should then prevent a user from incorrectly modifying the container port and then scratching their head wondering why they cant connect to it.

  6. binhex, deleting /mnt/cache/.sickbeard worked.  Thanks. 

     

    Dimtar, other docker apps working fine with Opera browser.  Furthermore, I was able to access it before.

     

    Thanks

     

    I think this was your problem

    2015-06-25 08:14:55,846 DEBG 'sickbeard' stderr output:
    08:14:55 INFO::MAIN :: Starting Sick Beard on http://0.0.0.0:8082/

     

    ahh good catch mr-hexen!, yes the port has been changed for the container side, thus when you did container port 8081 to host port 8082 it didnt work, as the container work was incorrectly set as 8082.

     

    jang430 - keep in mind the container port should NOT be changed, its only the host port that can be modified.

     

    Should docker make these ports "locked" to prevent this in the future?  Or at least pop up a warning explaining this before allowing them to be modified/deleted.  Just an idea :)

     

    nice idea!, i think they probably should be locked, i cant think of a valid reason for them to be changed by the end user, as long as the end user could delete the port if they wanted. @jonp what do you reckon, worthy of enhancement request?

  7. binhex, deleting /mnt/cache/.sickbeard worked.  Thanks. 

     

    Dimtar, other docker apps working fine with Opera browser.  Furthermore, I was able to access it before.

     

    Thanks

     

    I think this was your problem

    2015-06-25 08:14:55,846 DEBG 'sickbeard' stderr output:
    08:14:55 INFO::MAIN :: Starting Sick Beard on http://0.0.0.0:8082/

     

    ahh good catch mr-hexen!, yes the port has been changed for the container side, thus when you did container port 8081 to host port 8082 it didnt work, as the container work was incorrectly set as 8082.

     

    jang430 - keep in mind the container port should NOT be changed, its only the host port that can be modified.

     

    I'm guessing here that a previous sickbeard install in ".sickbeard" was messing the settings up, possibly an old .conf file.

     

    Is the IP of 0.0.0.0 even proper? Should that be 127.0.0.1?

     

    0.0.0.0 is correct (listen on all ip's), if it only was to talk on local loopback (127.0.0.1) then i dont believe you would be able to connect, might be wrong there though.

  8. binhex, deleting /mnt/cache/.sickbeard worked.  Thanks. 

     

    Dimtar, other docker apps working fine with Opera browser.  Furthermore, I was able to access it before.

     

    Thanks

     

    I think this was your problem

    2015-06-25 08:14:55,846 DEBG 'sickbeard' stderr output:
    08:14:55 INFO::MAIN :: Starting Sick Beard on http://0.0.0.0:8082/

     

    ahh good catch mr-hexen!, yes the port has been changed for the container side, thus when you did container port 8081 to host port 8082 it didnt work, as the container work was incorrectly set as 8082.

     

    jang430 - keep in mind the container port should NOT be changed, its only the host port that can be modified.

  9. Hello all, can anyone help?  I can't access my sickbeard docker app.  I remapped the container port from 8081, to 8082 (Host port). 

     

    I have a portion of my logs pasted below:

     

    2015-06-26 03:33:20,713 DEBG 'sickbeard' stderr output:

    03:33:20 INFO::SEARCHQUEUE-RSS-SEARCH :: Changing all old missing episodes (UNAIRED) to status WANTED

     

    2015-06-26 03:33:20,717 DEBG 'sickbeard' stderr output:

    03:33:20 INFO::SEARCHQUEUE-RSS-SEARCH :: Beginning search for new episodes on RSS

     

    2015-06-26 03:33:20,718 DEBG 'sickbeard' stderr output:

    03:33:20 INFO::SEARCHQUEUE-RSS-SEARCH :: Searching all providers for any needed episodes

     

    2015-06-26 03:33:22,528 DEBG 'sickbeard' stderr output:

    03:33:22 INFO::SEARCHQUEUE-RSS-SEARCH :: Clearing newztown cache and updating with new information

     

    2015-06-26 03:33:31,561 DEBG 'sickbeard' stderr output:

    03:33:31 INFO::SEARCHQUEUE-RSS-SEARCH :: Clearing Womble's Index cache and updating with new information

     

    2015-06-26 03:33:50,917 DEBG 'sickbeard' stderr output:

    03:33:50 INFO::SEARCHQUEUE-RSS-SEARCH :: Clearing Usenet-Crawler cache and updating with new information

     

    2015-06-26 03:34:01,192 DEBG 'sickbeard' stderr output:

    03:34:01 INFO::SEARCHQUEUE-RSS-SEARCH :: Clearing Sick Beard Index cache and updating with new information

     

    2015-06-26 03:34:13,108 DEBG 'sickbeard' stderr output:

    03:34:13 INFO::SEARCHQUEUE-RSS-SEARCH :: Clearing nzbfinder.ws cache and updating with new information

     

    2015-06-26 03:34:20,918 DEBG 'sickbeard' stderr output:

    03:34:20 INFO::SEARCHQUEUE-RSS-SEARCH :: No needed episodes found on the RSS feeds

     

    With the logs above, it seems my sickbeard is running.  I've tried both https and http://192.168.1.103:8082, but SB cannot be accessed.  I've deleted my image, and reinstalled the docker (without deleting the sb folder yet- config files still inside) but still won't be accessed.

     

    How do I access?  How do I even validate it's service status?

     

    hmm odd, that screenshot looks fine to me, and infact i have just reproduced your setup here, container port 8081, host port 8082, and i can connect to http://<unraidip>:8082/home/ and i can see the SB interface.

     

    can you try appending /home/ to the url just incase its not redirecting you, if thats a no go then stop the docker, and delete all files/folders in your host path for SB /config and start again.

  10. your aware microsft is including native support for docker (no vm cleverness) in windows 10 server though right?, albeit the microsoft version of docker :-)

     

    ah, so that will be the one with the Microsoft 'improvements' which just happen to make it incompatible, in some way, with the original 'standard'?

     

    lol, yeah most probably.

  11. Kitematic will get you by, but it'd be even better if Microsoft developed an interoperable container platform based on the NT kernel so we could truly have universal application support for docker beyond just Linux. I know I know, this might be a long shot, but a guy can dream can't he?!

     

    your aware microsft is including native support for docker (no vm cleverness) in windows 10 server though right?, albeit the microsoft version of docker :-)

     

    http://www.techradar.com/news/software/operating-systems/docker-on-windows-server-how-will-it-work--1275009

  12. cool, i can stop building containers that are all in one if this gets implemented.

     

    i work in a development team devoted to continuous delivery and deployment, Docker is one of the tools we have picked up on (partly due to my showcase) for this end goal. We have a complex application we are firstly putting through automated testing, this is using some quite funky methods to achieve this, one is using docker in docker to keep a clean environment for the application being tested, we also use Jenkins with dynamically created Jenkins slaves that are spun up using Docker, the other being the use of building images FROM images, as the application requires a LOT of prereqs.

     

    so why am i mentioning all this you might be asking sparkly :-), well one of the things you can do if you need multiple applications in a single container is to build individual images as building blocks for end images. To give you a working example i have two docker images i have produced, both have openvpn and privoxy included, rather than install openvpn and privoxy plus the application via the dockerfile, i create a separate docker images that ONLY includes openvpn privoxy, i then reference this using the FROM statement to include this image as the base for the application.

     

    you could do the same for example mariadb, mysql, etc, so anything that is common to more than one docker image can be used in this manner. this has two advantages, simpler dockerfiles, and of course less space and download time for the end user, as the image will be cached and reused with zero download.

     

    docker orchestration does look pretty good, im assuming jonp you've had a play with kitematic for windows right?, its a signup alpha right now but i got signed up (i receive docker newsletters), if you cant get in then let me know and i will send you the windows installer, of course im still hanging out for true docker on windows :-).

     

    https://blog.docker.com/2015/06/kitematic-windows-alpha/

  13. Ok got the Docker setup and since I've worked with Plex before the rest looks pretty straightforward.

     

    Just one question.  How does one update Plex?  Upon the initial setup Plex is already out of date so how do I go about updating the Plex docker to the newest version?  The version shown for the latest update of the Docker is 0.9.12.3 and there is a 0.9.12.4 out.

     

    Waiting for AUR to update their package, once it's updated I will trigger a new build and you can then pull it down, typically this happens with a couple of days lag behind release, FYI here is the link to AUR https://aur.archlinux.org/packages/plex-media-server/

  14. Binhex, similarly,  i was able to install sickbeard successfully.  But want to change port to 8082, same procedure?

     

    yep, exactly the same procedure for ALL dockers

     

    Sounds like a candidate for the Docker FAQ!  :)

     

    It also sounds like you could use your own FAQ, just to lighten your load here.  Perhaps add some common Q&A's to the bottom of your first post?  Or whenever possible, generalize them and add them to the Docker FAQ.  FAQ's are not just to help new users, but to help those answering the same questions over and over!

     

    yeah you've noticed im getting a battering here :-), issue is im in a catch-22 right now, struggling to find the time to enhance the OP due to responding to posts and very busy at work too, i might see if i can take a bit of time out of responding to posts for a  day and get some FAQ's posted up. i am going to put a link to the Docker FAQ on the OP and try and redirect newbies to this as it is a very good resource of material to get people started.

  15. Hello Binhex,

     

    Sort of understanding the concept.  Just like mapping ports from container to host, the folders must also be mapped? 

     

    Thank you for the explanation.

     

    precisely! :-) think of it as a barrier between docker and your host, in order to pass through this barrier you need to use a mapping, whether it be a port mapping for networking or a volume mapping for data

  16. My question is, where does the downloads go?  Is it inside the sabnzbd inside the docker.img?

     

    ok so the docker.img file stores ALL your docker images and containers, if you delete the docker.img file and re-create it then you will be back with a blank unraid docker ui with no docker containers, think of it as a store for all your docker "stuff", of course you can keep data and configuration outside of the docker.img file, and this is where the volume mappings come into play

     

    So sabnzbd is residing inside Docker? 

     

    sabnzbd is running in a docker container, yes, and that docker container is stored in the docker.img file.

     

    So the folders mentioned above, such as Downloads/incomplete, Downloads/complete, will it also be inside docker.img?  Will this be moved by the mover script when downloads are kept inside the docker.img's sabnzbd folder?  While in the folders page of sabnzbd, how do you point it onto the cache drive itself?

     

    ok so the above is all about volume mappings, the Downloads/blah folders you listed above are all default values that sabnzbd comes with, by default sabnzbd creates folders INSIDE the running container, this is a BAD thing, what this means is if you download a 10GB file it will save the 10GB file INSIDE your docker.img file (remember all docker containers exist in the docker.img file), this is bad in two ways, firstly your docker.img file will likely fill up and grind all your dockers to a halt, and secondly you cant get to the downloaded file as its stored in the file system inside the docker container.

     

    so whats the solution?, use volume mappings, this allows you to map a folder OUTSIDE of your docker container that you can reference. thats what the /data and /config folders are, they are container volume mappings to your hosts file system, thus allowing you to write to anywhere on your array/cache.

     

    in short the solution is point sabnzbd at /data/downloads /data/incomplete  see my screenshot a few posts ago for example.

  17. OK, newbie here I installed delugevpn docker and everything is good except I can't delete any of my downloads off the cache drive.

     

    \mnt\cache\appdata\delugevpn\downloads\complete 

     

    I need to be able to delete them because I don't want my cache drive filling up.

    Any idea what I should do to fix this?

     

    Thanks!

     

    are you uusing a separate account to authenticate with unraid or just using the standard authentication method (nobody account)?, also how are you trying to delete the files, using a windows machine and navigating to the share?

  18. First time setting up a Docker.  When using your Plex Media Server template, it lists a Container volume of /media by default that I can not delete.  What should I be using this for?  I don't have a Media share.  I have the following user share structure:

     

    Videos

    -Movies

    -TV

    -Stand-up Comedy

     

    Music

     

    So as you can see all my media is not lumped in under a single share.

       

     

    if you have your music/videos/movies/tv spread into separate shares, as in fact i do also, then simply set the host path to "/mnt/user" for container volume /media then when configuring plex drill down the /media container volume to the media type you want to add, e.g. for movies section in plex add "/media/Videos/Movies"

×
×
  • Create New...