Disable logging on interactive containers
I have dockerd configured via
--log-driver to save logs for my daemon containers to syslog. Apparently this causes standard out of all interactive/one-off containers to be written to syslog as well. This is especially troubling when I am doing something like
docker run -it --rm imagename mysqldump > filename.sql as the entire database dump is logged.
Is my only option to explicitly specify
--log-driver on the command line for each container being run, or are there any better options?