Info Docker package update

Currently reading
Info Docker package update

Rusty

Moderator
NAS Support
2,262
676
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
From Syno support on the question of when will there be an update on Docker package.

First of all I would like to thank you for working with our products.

At the moment we do not have the resources to work on the update for this package.

We are collecting the ''feature requests'' for this update.

The more people asking for it, the higher the priority will become.

I have added your request to the ''feature request'' list as well.

Kind regards,

XXXX Product Manager Synology
Not that its not working ok, but still... :mad:
 

fredbert

Moderator
NAS Support
Subscriber
1,464
622
NAS
DS218+, DS215j
Router
RT2600ac, MR2200ac
Operating system
macOS
Mobile operating system
iOS
Hum! The only two docker containers I’m running are Synology ones that are part of their Office package. One would like to think they’d have an interest in keeping it working.
 
7
2
NAS
DS918+
This is disappointing and somewhat worrying considering containers are potentially web facing.
 

Rusty

Moderator
NAS Support
2,262
676
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
Guessing DSM7 will for sure bring new version... but lets all hope that beta will start happing this year at least.
 
995
335
NAS
DS418play, DS213j, DSM 7.0.1-14401
This is typical of Synology packages, particularly of those which aren't "in house". Syno's development philosophy seems more bent on "good enough" as opposed to continual development. OS development continues only to broaden the appeal to increased market penetration, and to keep pace with competitors. Otherwise, apps are bland and half-baked.
/soapbox
 

Rusty

Moderator
NAS Support
2,262
676
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
Agree. Like I said there is nothing major wrong with it, but some packages should have a better dev time devoted to them... It's not like an ocean of apps depends on Docker right? /sarcasam
 
995
335
NAS
DS418play, DS213j, DSM 7.0.1-14401
Is it possible to install Docker apart from the Package Center (this wasn't obvious to me browsing the Docker site)?
 

Rusty

Moderator
NAS Support
2,262
676
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
If you bootstrap a nas it’s possible but we are moving to unsupported territory now.
 
Uhm, those are just docker images that contain Kopano releated services. Kopano is a group ware.

Replacing the Syno binaries with precompiled binaries from Docker does not work. Some kernel modules and tools are simply missing. Lets hope that DSM7 includes those missing bits and pieces.

What actualy might work is to use on of the "rootless" container solutions that are operated in the userspace. Plenty of them exist.

So far the only reliable way to run the latest Docker versions is to run a vm in vmm or on a different host (Intel NUCs are quite amazing, older versions can be bought for a reasonable price). I can assist on sorting out how docker volumes need to be declared in a docker-compose.yml to access cifs and/or nfs shares from the syno. Actualy it is not that complicated :)
 
Last edited:
995
335
NAS
DS418play, DS213j, DSM 7.0.1-14401
I'm wondering how deep I can chain this... docker>docker>docker>...>docker. I've got 8 gigs or RAM available ;)
 
7
2
NAS
DS918+
you might want to read a blog post the author of dind wrote
But what you might want to use is running docker-compose in docker (with a dind enabled image) this way you can use more recent version than the one that comes bundled with Synology. This is also what I implemented in the "build" container within the linked Kopano images.
 
A build use case is somewhat not comparible (btw your usecase is exactly where the author of dind recommends dond) to day2 operations, where additional port mappings would require a restart of the dind container.

Though, it is a different thing if the dind container would use a macvlan interface with a static ip. Also you would need a volume bind to store the docker root-data folder from /var/lib/docker somewhere on the host.

Depending on your preference, you could create docker volumes accessing cifs/nfs for the containers inside the dind container or use another volume bind from the host to the dind container and from there to the containers inside the dind. I am certain they will need the bind propagation "shared".

Is anyone up to give this thought a test drive?
 
7
2
NAS
DS918+
btw your usecase is exactly where the author of dind recommends dond
Ah, I did not dive deep enough into this topic to encounter the dond term (or it least it did not engrave into my brain). I think by coincidence I am actually using the dind image for dond (nothing is started in the docker container, but I use it to control docker on the host).
 
I made a compose.yml of how a dind solution might look like.

Code:
version: '2.2'

services:
  docker-dind:
    image:  docker:18.09.6-dind
    container_name: docker-dind
    privileged: true
    restart: always
    networks:
      macvlan0:
        ipv4_address: 192.168.200.17
    volumes:
    - /volume1/docker/dind/root-data:/var/lib/docker:shared
    - /volume1/docker/dind/data:/data:shared

networks:
  macvlan0:
    driver: macvlan
    driver_opts:
      parent: ovs_eth0
    ipam:
      config:
      - subnet: 192.168.200.0/24
        gateway: 192.168.200.1
        ip_range: 192.168.200.17/32
run docker run --rm -p 80:8080 ehazlett/docker-demo to test the setup.
Point your browser to http://192.168.200.17 and see the docker-demo.

If you declare your host side of a mount bind as a subfolder of /data then the data will be stored on your nas.

Of course you need to modify the network and volume related parts to match your own environment.
 
Last edited:
34
7
Saw this on rededit. Take the Survey.......

level 1
LaurentTO

6 points· 14 hours ago· edited 1 hour ago

Thank you for writing in. The Docker package has received an update in March with a backported major security fix and was updated again on 5/14 but we understand it’s been a long time since the Docker version in the package was updated. But rest assured it’s never forgotten. Docker support has always been on the DSM roadmap.
Given the fact that there are so many ways to use Docker, can you share with us what you use Docker for? This will help us to ensure that our next upgrade ticks all the boxes. Please take a minute to fill in the survey.
Best regards,
XXXX| Product Manager Synology America Corp.
 
Btw. two nights ago, Docker Inc. released Docker 19.03.0.

If someone wants to try Docker CE 19.03.0 on your NAS:
I maintain a modified docker dind image on Dockerhub, which includes a git client and docker-compose.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Similar threads

Trending threads

Top