sacretagent

Members
  • Posts

    943
  • Joined

  • Last visited

Posts posted by sacretagent

  1. Docker for Lazy Librarian -> https://forums.sabnzbd.org/viewtopic.php?f=6&t=9987&start=420

     

    Currently maintained by DobyTang

     

    Completely based on needo's couchpotato docker so all credit goes to him...

     

    Please note as there is no stable build for this program yet that it uses git all the way

     

    https://registry.hub.docker.com/u/sacretagent/needo-lazylibrarian/
    docker pull sacretagent/needo-lazylibrarian
    

     

    This is a Dockerfile setup for lazylibrarian -

     

    By default this Docker installs the latest version of lazylibrarian:

     

    docker run -d –net=“host” –name=“lazylibrarian” -v /path/to/lazylibrarian/data:/config -v /path/to/downloads:/downloads -v /path/to/books:/books -v /etc/localtime:/etc/localtime:ro -p 8085:8085 sacretagent/needo-lazylibrarian

    Edge

     

    If you would like to run the latest updates from the master branch as well as enable in-app updates run:

     

    docker run -d –net=“host” –name=“lazylibrarian” -v /path/to/lazylibrarian/data:/config -v /path/to/downloads:/download s -v /path/to/books:/books -v /etc/localtime:/etc/localtime:ro -e EDGE=1 -p 8085:8085 sacretagent/needo-lazylibrarian

     

  2. needo, thanks a lot for your hard work.Can I suggest that you use git PULL instead of clone in EDGE mode? It will consume a lot less time and bandwidth, and will practically have the same result.

     

    he can't as it is now

    as he installs the stable version first in the dockerfile

    so there is not .git in opt/name of app

    he could rewrite it to use git clone is no .git was found...

    and use pull if .git was there....

    but he will also have to remove the rm -rf /opt /name of app otherwise he will delet the .git file every time

     

  3. Needo,

     

    where is the log file for sickrage situated in the container?

    i would like to add following in edge

     

    rm -rf /var/log/sickrage.log

    touch /var/log/sickrage.log

     

    cause when you do a docker logs sickrage this log takes like forever to show the end

    and docker logs has no -t flag yet :(

     

    ***update**

     

    after i typed this i realized that it might be in the config folder and it is :P

    so i propose to add

     

    mv /config/sickbeard.log /config/sickbeard.log.1

    touch /config/sickbeard.log

     

    not sure if mv like this will work as there are already files 1 to 4 there... so we will need to foce to overwrite that one... or rename it differently...

     

     

  4. Do I force or not the removal of images?  ???

     

    even if you use the -f in docker rmi -f <imageid> then the image will not be deleted if there is still a container depending on it

    believe me i tried many times before i found the docker ps -a flag

     

    so i would say NO as it is of no use ....

    might use PS -a though to show the containers....

     

    but again people who have been messing with dockers might get a heart attack when they see all the leftover containers in the gui :P

  5. Docker Manager plugin looks great... I was finally able to see what images i had pulled from repos when experimenting - tried to clean them all up to start fresh and a lot of the ubuntu ones said command failed. Is there a way to wipe them all out so i can start fresh... also noted the on your removal confirmation screen that it said Are you shure?  Instead of Are you sure?

    HI

     

    I had same issue

    the trick is that these images that won't delete are still linked to some containers that are not deleted

    so you have to use

    docker ps -a
    to show all the containers

    then delete all the containers you don't use any more with

    docker rm (id)

    once you have done that delete all old containers then you can do a

    docker images
    and
    docker rmi <hash>
    to delete all old images

    please do it in this order aka first delete all old containers and then the images as sometimes a images is linked to one or more containers....

     

    The reason why this happens is if you start a docker with /bin/bash then when you exit the docker the docker only stops....

    and we "forget" that he is still there due to docker ps only showing the active containers....

    also an interrupted container will remain invisible for docker ps

     

  6. hi

    docks only update if they are set so too....

    in needo's docks you can choose to add the updater or not

    it all depends on how you make your docker...

     

    I am using needo's new dockers with the update function and every time i start my couchpotato docker, he gets updated automatically

    it takes about 10 minutes longer to start the docker due to that process but i don't mind

     

     

  7. basically i still use the portforwarded putty ssh sessions like before together with this https://github.com/Hossy/win-crashplan-uiswitcher

     

    just install it ... change the settings as per readme... and create 3 desktop icons with links ....

     

    double click the desktop icon and it will open a cmd window ... launch putty ... you have to manually input login and password... once that is done go back to the cmd window and click any key ....

    crashplan gui will open to your server..

     

  8. what about a garbage bin (aka integrate the vfs plugin natively) ?

    and the possibility to partition your cache drive in 2 or more partitions from the GUI (especially since btrfs doesn't support swap file so a second partition with reiserfs or ext to get a swap file)

    or swapfile natively (aka when you hav a cache disk format btrfs for 95 % and use the remaining 5% for raw swap)?

  9. to get some logs try docker logs crashplan

     

    but if you started the container with only docker start crashplan then i don't think it will work

    you need to use something like this

     

    docker run -d --net="host" --name="crashplan" -v /mnt:/mnt -v /boot:/boot -v /mnt/user/Crashplan:/data -p 4242:4242 -p 4243:4243 crashplan

     

    in my case above he has access to backup the flash drive (boot) and everything under /mnt

    not sure about the data folder, as he has not written anything there yet ....

     

  10. I will kick it off with a request for a  logmein hamachi docker...

     

    it's the only one missing for me

     

    i still have the swap file and the VFS recycle bin plugin running but i hope Limetech will add those to the basic image one day not tooooo far away  ::)

  11. Might be an idea to pin this...

     

    Just a Thread where we put the requests for docker apps we want ....

    So not to clutter up the other release posts ...

     

    Just an idea ...

    you can use the message icons

     

    "enhancement request" if you request something

    and i hope we can change it to "enhancement implemented" when somebody made it

     

  12. Needo

     

    I added an issue on your plexconnect docker

     

    like it is now when you put edge = 1

    then you do a rm -rf /opt/plexconnect

    but that also erases the certificate .... which needs to be the same as the one on the apple tv... so we can not change it all the time or you need to hack your apple tv all the time and it is not that quickly done ;)

     

    so i proposed a workaround... aka use a temp dir to clone into

    and move / overwite all files from that temp to /opt/plexonnect

    and of course erase temp

     

     

  13. any chance of

     

    1. update gfjardims crashplan to use this baseimage?

     

    https://github.com/gfjardim/dockers/tree/master/crashplan

     

    2. make a docker for headphones

     

    # Install headphones from github

    RUN git clone https://github.com/rembo10/headphones.git /opt/headphones

     

    3. make a docker for lazylibrarian

     

    # Install lazylibrarian from github

    RUN git clone https://github.com/DobyTang/LazyLibrarian.git /opt/lazylibrarian

     

    I have them all running using the ubuntu 14.04 image.... with the supervisor hack

     

    LAst 2 is just adapting the couchpotato docker with the new github's

    but in order for them all to be in one location it would prefer needo to have them all on his github ...