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.


14 Comments

Matt · January 8, 2018 at 10:12 pm

This worked great with my DS418Play and the latest Docker 17.05.0-0367. Thanks!

DL · January 6, 2018 at 12:30 am

Do you think there is a chance for running the Virtual Machine Manager package on a DS418play, given it has also the same met requirements as the Docker package?

    DL · January 6, 2018 at 1:07 am

    I think I’ve found what I need here:
    https://forum.synology.com/enu/viewtopic.php?t=135200

    In short:
    1. Login using SSH
    2. Edit the ‘synoinfo.conf’ file:
    sudo vi /etc/synoinfo.conf
    3. Add the following line (perhaps at the end) and save:
    support_ovs=”yes”
    4. Find the ‘Virtual Machine Manager’ package on the FTP and install/upload it, like for the Docker package.
    5. Run the installed package and follow the initial steps. The activation Open vSwitch will be done automatically (that was the blocker I had and fixed by synoinfo.conf edit).

    PS: Be careful when editing the system files…

Matiplus · December 27, 2017 at 5:18 am

I try to install Docker(Docker-GitLab-AllinOne-x86_64-9.4.4-0050) on my Synology ds216j , but i get info “Before instal this packed please instal the : Docker 1.6.2-0035 or newer. (” Przed instalacją tego pakietu zainstaluj następujące pakiety: Docker w wersji 1.6.2-0035 lub nowszej”)
Any idea how do this

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!

    Anders · December 6, 2017 at 9:59 am

    I get the same error on my DS415play with these conditions;

    DSM 6.1.4-15217 Update 2

    Docker-x64-17.05.0-0349.spk
    or
    Docker-x64-17.05.0-0349.spk

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