Synology has limited Docker availability in the package manager to only some select models.

  • 18 series:DS3018xs, DS918+, DS718+, DS218+
  • 17 series:FS3017, FS2017, RS18017xs+, RS4017xs+, RS3617xs+, RS3617xs, RS3617RPxs, DS3617xs, DS1817+, DS1517+
  • 16 series:RS18016xs+, RS2416+, RS2416RP+, DS916+, DS716+II, DS716+, DS216+II, DS216+
  • 15 series:RS815+, RS815RP+, RC18015xs+, DS3615xs, DS2415+, DS1815+, DS1515+, DS415+
  • 14 series:RS3614xs+, RS3614xs, RS3614RPxs, RS2414+, RS2414RP+, RS814+, RS814RP+
  • 13 series:RS10613xs+, RS3413xs+, DS2413+, DS1813+, DS1513+, DS713+
  • 12 series:RS3412xs, RS3412RPxs, RS2212+, RS2212RP+, RS812+, RS812RP+, DS3612xs, DS1812+, DS1512+, DS712+, DS412+
  • 11 series:RS3411xs, RS3411RPxs, RS2211+, RS2211RP+, DS3611xs, DS2411+, DS1511+, DS411+II, DS411+
  • *10 series:RS810+, RS810RP+, DS1010+, DS710+

 

You can get it working on other Synology NAS by downloading the package direct from their server and doing a manual install.

 

I have tested this and it is working on my Synology DS416play

 

Download

https://usdl.synology.com/download/Package/spk/Docker/1.11.2-0329/Docker-x64-1.11.2-0329.spk

Or you can check if there is a newer version available in the directory tree:

https://usdl.synology.com/download/Package/spk/Docker/

 

Install

Installation is basic, since there is a “Manual Install” function in the Package Center.

  1. Launch Package Center

  2. Click “Manual Install”

  3. Upload the docker .spk you downloaded from above.

  4. Install

 

 

That’s it!

 

 

Application is running

 

Trying to run a container

 

It works!

 

Feel free to comment to let me know if this works or not on your unsupported Synology NAS.


8 Comments

T · October 11, 2017 at 5:56 am

On the DS418, running DSM 6.1.3-15152 Update 6, I got error for both last available spk’s:

Docker-x64-1.11.2-0329.spk:
“this package is not supported on the platform of Diskstation or is incompatible with the current DSM version”

and

Docker-x64-17.05.0-0344.spk:
“This package requires DSM version 6.1-15163 or onward”

    Tyler Woods · October 11, 2017 at 12:46 pm

    Thank you for letting us know! That’s unfortunate because your NAS should be 64-bit capable.

    I came across a shell-driven installation method, however I have not tested and would not advise proceeding unless you know what you are doing. If I can test one day I will write an article.

    #if not already running as root, become root

    sudo su

    #install ipkg, a package manager

    curl http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/stable/syno-i686-bootstrap_1.2-7_i686.xsh > bootstrap.xsh; bash bootstrap.xsh

    #install iptables and brige-utils to obtain some extra kernel modules

    ipkg install iptables bridge-utils

    #the following steps need to be repeated whenever the kernel is restarted

    while read module; do
    insmod /lib/modules/$module
    done << EOF
    veth.ko
    stp.ko
    tun.ko
    nf_defrag_ipv4.ko
    nf_conntrack.ko
    x_tables.ko
    xt_TCPMSS.ko
    xt_recent.ko
    xt_NFQUEUE.ko
    xt_mark.ko
    xt_mac.ko
    xt_limit.ko
    xt_iprange.ko
    xt_geoip.ko
    xt_addrtype.ko
    xt_conntrack.ko
    xt_LOG.ko
    bridge.ko
    xt_state.ko
    xt_tcpudp.ko
    xt_multiport.ko
    nf_nat.ko
    nf_conntrack_ipv4.ko
    ip_tables.ko
    xt_REDIRECT.ko
    xt_nat.ko
    nf_nat_ipv4.ko
    ipt_MASQUERADE.ko
    iptable_filter.ko
    iptable_nat.ko
    EOF

    #run docker! if you haven’t already got docker binaries, download and install them:

    #https://docs.docker.com/engine/installation/binaries/#install-the-linux-binaries

    docker daemon &
    docker run –rm -ti debian /bin/bash
    root@6370bee3fc36:/# echo ‘eat my shorts!’

      T · October 12, 2017 at 4:23 am

      Thanks. That sounds a bit too advanced :-). I think I’ll upgrade to DS918+ with native support for Docker. Since a lot of other packages I’m using (python/sabnzbd) are not yet available, I need Docker for this.

        Tyler Woods · October 12, 2017 at 8:35 am

        I’d have to agree with you there! At a certain point you gotta stop jimmy-rigging things when there’s no support for it, right? xD

        Good luck!

Juan Morales · October 9, 2017 at 10:03 am

Thanks. Im going to try this in my DS1515. Do you know how to install GitLab afterwards?

Leave a Reply