There are global defaults for logging which you can configure in daemon.json (log-driver, log-level, log-opt), but none of these are used when building images.
This was intentionally changed in https://github.com/moby/moby/pull/29552, which has been included since Docker 17.04.0 -- I imagine your previous cases where this worked were likely on older versions of Docker than that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966889 Title: docker-build containers do not have logging driver configure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1966889/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
