You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this appears not possible using docker-java. This issue previously came up in #783 but was resolved by manually adding the log driver type in question as an element of the enum, which does not solve the issue in the more general case.
In case anybody else is running into this issue, a possible workaround for now is to name your custom logging driver "db" (--alias-ing a plugin you're installing should also work?) and use LoggingType.DB since "db" isn't present in Docker installations by default.
The other option would be to specify a default log-driver in daemon.json and not supply a LogConfig to docker-java. I've confirmed in this case that the default specified in daemon.json is used.
Activity
[-]Support custom LoggingType-s[/-][+]Support custom LoggingTypes[/+]clairradiant commentedon May 28, 2025
In case anybody else is running into this issue, a possible workaround for now is to name your custom logging driver "db" (--alias-ing a plugin you're installing should also work?) and use
LoggingType.DBsince "db" isn't present in Docker installations by default.The other option would be to specify a default
log-driverindaemon.jsonand not supply aLogConfigtodocker-java. I've confirmed in this case that the default specified indaemon.jsonis used.