How to modify it to a normal json-file?
In Synolog's Nas, his Daemon config file is special, and it is placed in the /var/packages/Docker/etc/ directory.
Called dockerd.json.
1. Enter the editor
vi /var/packages/Docker/etc/dockerd.jsonAdd "log-driver": "json-file"

2. Restart Docker Daemon
synoservice --restart pkgctl-Docker3. View the default Logging driver settings
docker info|grep Logging
Fourth, the actual test function
docker-comose logs -fI can see it normally, there is something...

Supplement: I often use commands on synology
For example, to list all the service names on the Synology NAS.
synoservice --listTo find Docker, you can query in uppercase
synoservice --list|grep Dockerpkgctl-Docker
If you want to overload nginx settings, you can use
synoservice --reload nginxUse help to view related settings
synoservice --help
No Comment
Post your comment