Docker@Synology: How to stopp logging

Dear Docker experts,

I am running on a Synology NAS Docker under DSM 7.0. To avoid frequent HDD access, I want to disable docker logging. But how to do so?

I modified both the

/var/packages/Docker/etc/dockerd.json

to

“log-driver” : “none”

and the

containers’s json config file uploaded to the Docker GUI
(see this post https://community.synology.com/enu/forum/1/post/140204)

adding

“log-driver”: “none”,

but to no effect. Docker still stubbornly writes every five minutes or so into containerID/log.db.

Please help.

Best,

Stefan

You need to recreate the container.
The settings in /var/packages/Docker/etc/dockerd.json are just the default that apply to newly-created containers unless overridden by --log-driver etc.