I tested both parameters on my node, and evrything is working fine.
If you will reboot host machine, no need to stop container before with docker stop storagenode -t 300 command, now daemon will handle it easy with new default parameter 300s.
Here is compleate settings for /etc/docker/daemon.json
Thanks! @baker
For logs, it is also true way if you would like specify parameters for each container.
My way is changing default parameters for docker daemon for all containers (I assume only storagenode and watchtower is persist on host)
There may be some flaw with intent; See conflicts with default container settings vs daemon:
can be either the value set on the daemon ( --shutdown-timeout ), or set by a container ( --stop-timeout ). After all containers are terminated, the daemon shuts down;
Thanks, I may just add/change docker shutdown time to 300 from default 10.
Yes, I don’t want to break UI docker logs. But I’ve noticed whenever the docker container is stopped and started the logs disappear and are not retained.
I like the ability to see UI docker logs but also want to retain a persistent copy. Hmmm