Catsk

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Catsk

  1. On 21/06/2017 at 2:46 AM, sundogak said:

    @Catsk

     

    To install on a Synology DS you cannot use the command line (or at least I have never got to work on an image).  You want to enter in the parameters via the Docker GUI the first time you launch the container.  You can then save your settings so you don't have to redo when you update the container.  

     

    1. In the General Settings you want to make sure you check the box "Execute Container Using Higher Privilege"  .  Do this last or it has a habit of unchecking.  It will give a warning when you do.
    2. Enter in the parameters via the GUI: Volume, Port Settings, and Environment.  Nothing goes in the "Links" section.  
    3. Because of an issue with Synology on current firmware (talked about in this thread but don't have the link) you need to also setup a Task to run as "root" on "Bootup" with the commands shown in the screen shot (Run Commands).  Otherwise the docker will not launch correctly.  
    4. Once you have everything running well, export out your configuration through the GUI and save to disk somewhere for when you need to download a new version/upgrade.  That way, you simply delete the Container and Image, redownload new Image and before you launch you Import in settings for Container.  This will work as long as you use the same basic image each time (i.e., "Latest").  That way you only have to do the GUI deal one time (which is a pain).  

    I have this running on Synology with no major issues. You do have to watch any patches that come out for Synology since sometimes it breaks things but other than some weird aspects for the way Synology did things, you can get most any Docker image working easily with version of above.

    Capture2.PNG

    Capture3.PNG

    Capture4.PNG

    Capture5.PNG

    Capture.PNG

    Hi Sundo,

    Thanks you for your tuto, but doesn't work for me.
    When I try to launch the container, I have the error message

    Start container Deluge failed: rpc error: code = 2 desc = "oci runtime error: could not synchronise with container process: not a directory"



    But, when I execute this command with sudo : 

    docker run -d --cap-add=NET_ADMIN -p 8112:8112 -p 8118:8118 -p 58846:58846 -p 58946:58946 --name=Delugevpn -v /volume1/docker/deluge/data:/data -v /volume1/docker/deluge/config:/config -v /etc/localtime:/etc/localtime:ro -e VPN_ENABLED=yes -e VPN_USER=myusername -e VPN_PASS=mypass -e VPN_REMOTE=nl.privateinternetaccess.com -e VPN_PORT=1198 -e VPN_PROTOCOL=udp -e VPN_DEVICE_TYPE=tun -e VPN_PROV=pia -e STRONG_CERTS=no -e ENABLE_PRIVOXY=yes -e LAN_NETWORK=192.168.31.0/24 -e NAME_SERVERS=8.8.8.8,8.8.4.4 -e DEBUG=false -e UMASK=000 -e PUID=0 -e PGID=0 binhex/arch-delugevpn 

     

    The container was created successfully, and works fine . It's not serious, but it's too bad I can't create container with the sync GUI :/

     

    Edit : To create the container with the Syno GUI, do not add the localtime folder. Without this folder, container working fine.
    But, I must re-edit the port setting because are on "Auto". I have enter the correct port and it's ok :)

     

     

  2. Hi,


    I can't create the container with this command in the Sync Docker GUI.


    I tried to launch the docker command with ssh but It can't create the folders because the folders doesn't exist in a NAS synology.
     

    Somebody knows how to install this docker container on a sync ?

  3. 23 hours ago, binhex said:

     

    you can modify anything you want by using docker exec -it <container name> /bin/bash, this will get you inside the running container, you can then modify any scripts that are executed at startup (located in /root or /home/nobody/). Keep in mind though if you do modify any script then the change will get overwritten next time you re-create the container (for instance an update) but the change will survive a reboot of the container so you could test your changes.

    HI binhex,

    Thanks for your reply !

    I'm able to create a container because I can create a deluge container without command line.
    I tried to make this command in one line but I have the same error.

    My command line :

    docker run -d --cap-add=NET_ADMIN -p 8112:8112 -p 8118:8118 -p 58846:58846 -p 58946:58946 --name=delugevpn -v /apps/docker/deluge/data:/data -v /apps/docker/deluge/config:/config -v /etc/localtime:/etc/localtime:ro -e VPN_ENABLED=yes -e VPN_USER=username -e VPN_PASS=Passwd -e VPN_REMOTE=nl.privateinternetaccess.com -e VPN_PORT=1198 -e VPN_PROTOCOL=udp -e VPN_DEVICE_TYPE=tun -e VPN_PROV=pia -e STRONG_CERTS=no -e ENABLE_PRIVOXY=yes -e LAN_NETWORK=192.168.31.0/24 -e NAME_SERVERS=8.8.8.8,8.8.4.4 -e DEBUG=false -e UMASK=000 -e PUID=0 -e PGID=0 binhex/arch-delugevpn

     

    In attachement, the screen of my container and error.
    Thanks for your help :)

     

    Capture d’écran 2017-06-19 à 19.18.59.png

    Capture d’écran 2017-06-19 à 19.19.28.png

  4. Hi binhex,

    First, thanks you very much for your work !

    I tried to setting up the container on my Synology DSM6+ but I have a error message as the finally step : "Format error in execution command". 

    I enter this execution command : 

    docker run -d 
        --cap-add=NET_ADMIN 
        -p 8112:8112 
        -p 8118:8118
        -p 58846:58846 
        -p 58946:58946
        --name=Deluge 
        -v /apps/docker/deluge/data:/data 
        -v /apps/docker/deluge/config:/config 
        -v /etc/localtime:/etc/localtime:ro 
        -e VPN_ENABLED=yes 
        -e VPN_USER=username
        -e VPN_PASS=password
        -e VPN_REMOTE=nl.privateinternetaccess.com 
        -e VPN_PORT=1198 
        -e VPN_PROTOCOL=udp 
        -e VPN_DEVICE_TYPE=tun 
        -e VPN_PROV=pia 
        -e STRONG_CERTS=no 
        -e ENABLE_PRIVOXY=yes 
        -e LAN_NETWORK=192.168.31.0/24 
        -e NAME_SERVERS=8.8.8.8,8.8.8.4 
        -e DEBUG=false 
        -e UMASK=000 
        -e PUID=0 
        -e PGID=0 
        binhex/arch-delugevpn

    Have you a solution ?

    Thanks you :)