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?

  • Issue in building docker image using habitus
  • debian8 server running docker crashes for 5 times guiding to null pointer in one month, but others with same hardware config ran normally
  • What work does the process in container “gcr.io/google_containers/pause:0.8.0” do?
  • How to compile C code that is using kernel function in docker and use pci device in container?
  • Apache Marathon: Pod/Compose like?
  • Dockerfile RUN command result
  • Nodemon is not working in Docker environment
  • Get service file information using docker container id
  • Mesos/Marathon on EC2 agents hostnames not accessible
  • Connecting docker instance with python notebook to docker instance with Neo4J
  • Error during compilation / installation of libcontainer due to custom-build kernel
  • Which is the Dockerfile encoding?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.