Add ability to have custom docker.json

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.

1 Like

This would also allow configuring remote access to the docker socket (ability to push images remotely, control containers, etc).

Mis-titled. Correct file is /etc/docker/daemon.json. Would be great to be able to use custom values here.

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?

1 Like

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

1 Like