Problem/Justification
I would like to be able to persist custom modifications to docker.json. Specifically, to be able to add a default logging driver, though there are many potential uses for this.
Impact
Allow custom mods to docker.json to persist across reboots.
User Story
User should have ability in the UI (Apps/Configuration/Settings) to enter custom JSON text to specify a custom docker.json that persists across reboots.
A bit more flexibility would definitely be useful. Allowing any changes could easily break apps and cause a lot of headache for the developers. My use case is that Iād like to be able to add tags to the json logs, setting log-opts in daemon.json would be the easiest way around that. Maybe some safe to modify options from the daemon.json could be mapped out to the GUI?
Probably a long shot but the ability to add logging driver plugins to support Loki would be great. However, I think @Karoly_Nikl is correct and this would cause too much headache for the developers.
As an alternative, I think a configurable syslog destination would be enough as it could be sent to Grafana Alloy. This is already included in the default list of logging drivers available to the docker daemon