The docker docs said:
To configure the Docker daemon to default to a specific logging driver, set the value of log-driver to the name of the logging driver in the daemon.json file, which is located in /etc/docker/ on Linux hosts or C:\ProgramData\docker\config\ on Windows server hosts. Note that you should create daemon.json file, if the file does not exist. The default logging driver is json-file. ...
BUT, WHY? Why on CentOS 7, it default use journald
? I never specify log-driver
in my docker-compose.yml