diff --git a/cmd/docker-driver/config.go b/cmd/docker-driver/config.go index f00d8e63657f2..1fcf584d3fe5c 100644 --- a/cmd/docker-driver/config.go +++ b/cmd/docker-driver/config.go @@ -113,6 +113,8 @@ func validateDriverOpt(loggerInfo logger.Info) error { case "env-regex": case "max-size": case "max-file": + case "mode": + case "max-buffer-size": default: return fmt.Errorf("%s: wrong log-opt: '%s' - %s", driverName, opt, loggerInfo.ContainerID) }