Did you try to update the containerd binaries as well? Syno's 20.10.3 commes with 1.4.3, while (at least on ubuntu) 20.10.7 commes with 1.4.6.
Yes, what I did it is
remove the Synology Docker package completely and after that install the static binaries as described
here. Basically his works. But not with the
btrfs
storage driver...
I tried different storage drivers
aufs
,
overlay2
,
btrfs
and
vfs
with various results. Storage driver
vfs
does seem to work on a
btrfs
file system as well, but of course you do not have the benefits of
btrfs
since
vfs
is not a union file system and there is no cow support.
I did write some of it down
here...
But maybe Synology "just" customized btrfs to break api compatibility that containerd requries.
Probably.
Maybe I'll see if I can figure out what the differences are when compared to a Ubuntu install...
But to be honest, I'd rather not tinker with the
btrfs
file system and risk breaking it all (although I always test this first on VirtualDSM).
It would have been nice to just install Docker myself
and use the
btrfs
strorage driver without having to go through all of this...
More info about the
btrfs
storage driver failing
here.
Edit:
If I replace all docker binaries in
/volume1/@appstore/Docker/usr/bin
with the 20.10.7 ones, I get the
inappropriate ioctl for device
error message.
(in
/var/packages/Docker/etc/dockerd.json
, I also needed to replace the custom
log-driver
from
db
to
json-file
but that is another story...)
If I restore the
dockerd
version to the one from Synology everything seems to be working again. So it looks like Synology made some changes to make it work.
The only question is: what did they change?
Note to self: next steps
here and
here?
Code:
$ docker version
Client:
Version: 20.10.7
API version: 1.41
Go version: go1.13.15
Git commit: f0df350
Built: Wed Jun 2 11:51:04 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.3
API version: 1.41 (minimum version 1.12)
Go version: go1.15.6
Git commit: a3bc36f
Built: Mon May 10 03:59:47 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.4.6
GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d
runc:
Version: 1.0.0-rc95
GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
docker-init:
Version: 0.19.0
GitCommit: de40ad0
$